NFC: hci: Add pipes table to reference them with a tuple {gate, host}
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 27 Jan 2015 00:18:12 +0000 (01:18 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Jan 2015 22:39:32 +0000 (23:39 +0100)
commit118278f20aa89efe45fa1e2b1829f198d557f8fe
treeedac7f90f582e3c29f13290a016f12b0068a4ff2
parentfda7a49cb991e9da15f5955d1ea292f8ec74f27a
NFC: hci: Add pipes table to reference them with a tuple {gate, host}

In order to keep host source information on specific hci event (such as
evt_connectivity or evt_transaction) and because 2 pipes can be connected
to the same gate, it is necessary to add a table referencing every pipe
with a {gate, host} tuple.

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