projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d37a77
)
NFC: st-nci: Open NCI_HCI_LINK_MGMT_PIPE
author
Christophe Ricard
<christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:28 +0000
(22:54 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 26 Oct 2015 05:53:14 +0000
(06:53 +0100)
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>
drivers/nfc/st-nci/se.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nfc/st-nci/se.c
b/drivers/nfc/st-nci/se.c
index 3ffac0e67f945b846f75a0b0a4f811e92e12222b..35221654951bdb26b3e6cebec0e9548c6bf47705 100644
(file)
--- a/
drivers/nfc/st-nci/se.c
+++ b/
drivers/nfc/st-nci/se.c
@@
-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;
}
This page took
0.024924 seconds
and
5
git commands to generate.