NFC: hci: Change nfc_hci_send_response gate parameter to pipe
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 27 Jan 2015 00:18:13 +0000 (01:18 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Jan 2015 22:55:20 +0000 (23:55 +0100)
commitaf77522320aa0e5b4b52dce615ad067d92e15fbf
treef0f551759df638ad4a694d176d8cfe2ac6c4ab92
parent118278f20aa89efe45fa1e2b1829f198d557f8fe
NFC: hci: Change nfc_hci_send_response gate parameter to pipe

As there can be several pipes connected to the same gate, we need
to know which pipe ID to use when sending an HCI response. A gate
ID is not enough.

Instead of changing the nfc_hci_send_response() API to something
not aligned with the rest of the HCI API, we call nfc_hci_hcp_message_tx
directly.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/hci.h
net/nfc/hci/command.c
net/nfc/hci/core.c