commit | a1b0b9415817c14d207921582f269d03f848b69f | [log] [tgz] |
---|---|---|
author | Christophe Ricard <christophe.ricard@gmail.com> | Sun Oct 25 22:54:25 2015 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Oct 26 06:53:13 2015 +0100 |
tree | 207337705492431a3750a1ec014d26259ea6c2e5 | |
parent | 8a49943f5bc5ff4f835d50451ecf2380eab44d2e [diff] |
NFC: nci: Create pipe on specific gate in nci_hci_connect_gate Some gates might need to have their pipes explicitly created. Add a call to nci_hci_create_pipe in nci_hci_connect_gate for every gate that is different than NCI_HCI_LINK_MGMT_GATE or NCI_HCI_ADMIN_GATE. In case of an error when opening a pipe, like in hci layer, delete the pipe if it was created. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>