NFC: nci: extract pipe value using NCI_HCP_MSG_GET_PIPE
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:22 +0000 (22:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2015 19:03:20 +0000 (14:03 -0500)
commit345e7449e059f9f6f12606dfb00c7788ee8b1cb6
tree92e1e0f8cea0d46d4853a6c9cc57cd1eb7da5103
parent8e5c139309481f323ecf4a73db09e7b56ea4e08b
NFC: nci: extract pipe value using NCI_HCP_MSG_GET_PIPE

commit e65917b6d54f8b47d8293ea96adfa604fd46cf0d upstream.

When receiving data in nci_hci_msg_rx_work, extract pipe
value using NCI_HCP_MSG_GET_PIPE macro.

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