summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-02-03 19:48:04 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-02-04 09:09:53 +0100
commit12bdf27d46c9d5e490fa164551642e065105db78 (patch)
tree477d4c54873b2cb6b6b13afb286f004d95ad4c5f /include/net
parentNFC: st21nfca: Add HCI transaction event support (diff)
downloadlinux-12bdf27d46c9d5e490fa164551642e065105db78.tar.xz
linux-12bdf27d46c9d5e490fa164551642e065105db78.zip
NFC: nci: Add reference to the RF logical connection
The NCI_STATIC_RF_CONN_ID logical connection is the most used connection. Keeping it directly accessible in the nci_dev structure will simplify and optimize the access. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/nfc/nci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h
index be858870dace..731fa5be9989 100644
--- a/include/net/nfc/nci_core.h
+++ b/include/net/nfc/nci_core.h
@@ -189,6 +189,7 @@ struct nci_dev {
__u8 cur_conn_id;
struct list_head conn_info_list;
+ struct nci_conn_info *rf_conn_info;
struct timer_list cmd_timer;
struct timer_list data_timer;