diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-10-25 22:54:23 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-10-26 06:53:12 +0100 |
commit | fa6fbadea5d3618339fae8f9d5136a470bad4fa7 (patch) | |
tree | 00c9d30f720c9c90cddfbe19c56a3cec24cba215 /include/net/nfc | |
parent | NFC: nci: extract pipe value using NCI_HCP_MSG_GET_PIPE (diff) | |
download | linux-fa6fbadea5d3618339fae8f9d5136a470bad4fa7.tar.xz linux-fa6fbadea5d3618339fae8f9d5136a470bad4fa7.zip |
NFC: nci: add nci_hci_clear_all_pipes functions
nci_hci_clear_all_pipes might be use full in some cases
for example after a firmware update.
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/nci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h index 0569cb251135..65e40df05df2 100644 --- a/include/net/nfc/nci_core.h +++ b/include/net/nfc/nci_core.h @@ -309,6 +309,7 @@ int nci_hci_set_param(struct nci_dev *ndev, u8 gate, u8 idx, const u8 *param, size_t param_len); int nci_hci_get_param(struct nci_dev *ndev, u8 gate, u8 idx, struct sk_buff **skb); +int nci_hci_clear_all_pipes(struct nci_dev *ndev); int nci_hci_dev_session_init(struct nci_dev *ndev); static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev, |