mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
3ba5c8466b
commit
15d4a8da0e
5 changed files with 36 additions and 27 deletions
|
@ -159,6 +159,7 @@ struct nci_hci_init_data {
|
|||
#define NCI_HCI_MAX_GATES 256
|
||||
|
||||
struct nci_hci_dev {
|
||||
u8 nfcee_id;
|
||||
struct nci_dev *ndev;
|
||||
struct nci_conn_info *conn_info;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue