NFC: nci: Move logical connection structure allocation
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 3 Feb 2015 18:48:07 +0000 (19:48 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 4 Feb 2015 08:14:09 +0000 (09:14 +0100)
commit15d4a8da0e440faf589a26346c8287e1ed0abe6c
treed6ddf14215118c72dff898f57b24535e68225878
parent3ba5c8466b320c3fd5d5861b34aa8a31dd0cf6b3
NFC: nci: Move logical connection structure allocation

conn_info is currently allocated only after nfcee_discovery_ntf
which is not generic enough for logical connection other than
NFCEE. The corresponding conn_info is now created in
nci_core_conn_create_rsp().

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/st21nfcb_se.c
include/net/nfc/nci_core.h
net/nfc/nci/hci.c
net/nfc/nci/ntf.c
net/nfc/nci/rsp.c