Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFC: microread: Change event_received gate parameter to pipe

The below event_received hci handler has change the gate parameter to pipe.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>

authored by

Christophe Ricard and committed by
Samuel Ortiz
d6365c01 8abe3c6a

+2 -1
+2 -1
drivers/nfc/microread/microread.c
··· 557 557 pr_err("Failed to handle discovered target err=%d\n", r); 558 558 } 559 559 560 - static int microread_event_received(struct nfc_hci_dev *hdev, u8 gate, 560 + static int microread_event_received(struct nfc_hci_dev *hdev, u8 pipe, 561 561 u8 event, struct sk_buff *skb) 562 562 { 563 563 int r; 564 + u8 gate = hdev->pipes[pipe].gate; 564 565 u8 mode; 565 566 566 567 pr_info("Microread received event 0x%x to gate 0x%x\n", event, gate);