diff options
| author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-01-26 19:18:13 -0500 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-01-27 17:55:20 -0500 |
| commit | af77522320aa0e5b4b52dce615ad067d92e15fbf (patch) | |
| tree | f0f551759df638ad4a694d176d8cfe2ac6c4ab92 /include/net/nfc | |
| parent | 118278f20aa89efe45fa1e2b1829f198d557f8fe (diff) | |
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>
Diffstat (limited to 'include/net/nfc')
| -rw-r--r-- | include/net/nfc/hci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h index 5570f4a316d1..1d1fd2b98f1e 100644 --- a/include/net/nfc/hci.h +++ b/include/net/nfc/hci.h | |||
| @@ -260,8 +260,6 @@ int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, | |||
| 260 | int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, | 260 | int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, |
| 261 | const u8 *param, size_t param_len, | 261 | const u8 *param, size_t param_len, |
| 262 | data_exchange_cb_t cb, void *cb_context); | 262 | data_exchange_cb_t cb, void *cb_context); |
| 263 | int nfc_hci_send_response(struct nfc_hci_dev *hdev, u8 gate, u8 response, | ||
| 264 | const u8 *param, size_t param_len); | ||
| 265 | int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, | 263 | int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, |
| 266 | const u8 *param, size_t param_len); | 264 | const u8 *param, size_t param_len); |
| 267 | int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate); | 265 | int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate); |
