mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-31 22:15:38 +00:00
NFC: st-nci: Open NCI_HCI_LINK_MGMT_PIPE
NCI_HCI_LINK_MGMT_PIPE was never opened in st_nci_hci_load_session. 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
4d37a772b7
commit
9dfe29f179
@ -244,6 +244,14 @@ int st_nci_hci_load_session(struct nci_dev *ndev)
|
||||
kfree_skb(skb_pipe_info);
|
||||
}
|
||||
|
||||
/*
|
||||
* 3 gates have a well known pipe ID. Only NCI_HCI_LINK_MGMT_GATE
|
||||
* is not yet open at this stage.
|
||||
*/
|
||||
r = nci_hci_connect_gate(ndev, ST_NCI_HOST_CONTROLLER_ID,
|
||||
NCI_HCI_LINK_MGMT_GATE,
|
||||
NCI_HCI_LINK_MGMT_PIPE);
|
||||
|
||||
kfree_skb(skb_pipe_list);
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user