OSDN Git Service

NFC: nci: Call nci_hci_clear_all_pipes at HCI initial activation.
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:24 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 26 Oct 2015 05:53:13 +0000 (06:53 +0100)
commit8a49943f5bc5ff4f835d50451ecf2380eab44d2e
tree6cfe300aaae966e7cf5f50c569c78814ae697030
parentfa6fbadea5d3618339fae8f9d5136a470bad4fa7
NFC: nci: Call nci_hci_clear_all_pipes at HCI initial activation.

When session_id is filled to 0xff, the pipe configuration is
probably incorrect and needs to be cleared.

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