diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-01-27 00:18:17 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-01-27 23:03:35 (GMT) |
commit | d6365c018b3f9e12eeb262407ccf5b143bcc6bad (patch) | |
tree | b0b76116f8cac8b4e03132b0c42af53387141e6d /drivers/nfc | |
parent | 8abe3c6a9ec5e55daa6aec82215f3c27012e27fe (diff) | |
download | linux-d6365c018b3f9e12eeb262407ccf5b143bcc6bad.tar.xz |
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>
Diffstat (limited to 'drivers/nfc')
-rw-r--r-- | drivers/nfc/microread/microread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nfc/microread/microread.c b/drivers/nfc/microread/microread.c index 963a4a5..f454dc6 100644 --- a/drivers/nfc/microread/microread.c +++ b/drivers/nfc/microread/microread.c @@ -557,10 +557,11 @@ exit: pr_err("Failed to handle discovered target err=%d\n", r); } -static int microread_event_received(struct nfc_hci_dev *hdev, u8 gate, +static int microread_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, struct sk_buff *skb) { int r; + u8 gate = hdev->pipes[pipe].gate; u8 mode; pr_info("Microread received event 0x%x to gate 0x%x\n", event, gate); |