Commit 8abe3c6a authored by Christophe Ricard's avatar Christophe Ricard Committed by Samuel Ortiz

NFC: pn544: Change event_received gate parameter to pipe

The below event_received hci handler has change the gate parameter to pipe.
Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
parent 8409e428
...@@ -724,10 +724,11 @@ static int pn544_hci_check_presence(struct nfc_hci_dev *hdev, ...@@ -724,10 +724,11 @@ static int pn544_hci_check_presence(struct nfc_hci_dev *hdev,
* <= 0: driver handled the event, skb consumed * <= 0: driver handled the event, skb consumed
* 1: driver does not handle the event, please do standard processing * 1: driver does not handle the event, please do standard processing
*/ */
static int pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 gate, u8 event, static int pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event,
struct sk_buff *skb) struct sk_buff *skb)
{ {
struct sk_buff *rgb_skb = NULL; struct sk_buff *rgb_skb = NULL;
u8 gate = hdev->pipes[pipe].gate;
int r; int r;
pr_debug("hci event %d\n", event); pr_debug("hci event %d\n", event);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment