]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: hci: Change event_received handler gate parameter to pipe
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 27 Jan 2015 00:18:11 +0000 (01:18 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Jan 2015 22:39:23 +0000 (23:39 +0100)
commitc8cfa5af5e8f4457fac8c9811edbdce0cc11f3ee
tree052d7297b46ce087ffe3f07f4237cc5c32f262df
parenta491c91dc01ee2d4d42446063b2fbe327d481a37
NFC: hci: Change event_received handler gate parameter to pipe

Several pipes may point to the same CLF gate, so getting the gate ID
as an input is not enough.
For example dual secure element may have 2 pipes (1 for uicc and
1 for eSE) pointing to the connectivity gate.

As resolving gate and host IDs can be done from a pipe, we now pass
the pipe ID to the event received handler.

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/core.c