diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-04-22 22:58:18 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2022-04-26 21:10:51 +0300 |
commit | 9b3628d79b46f06157affc56fdb218fdd4988321 (patch) | |
tree | 1c73ca2c7218cac0ca4585be26d03aeb8a3596c1 /include | |
parent | aef2aa4fa98e18ea5d9345bf777ee698c8598728 (diff) | |
download | linux-9b3628d79b46f06157affc56fdb218fdd4988321.tar.xz |
Bluetooth: hci_sync: Cleanup hci_conn if it cannot be aborted
This attempts to cleanup the hci_conn if it cannot be aborted as
otherwise it would likely result in having the controller and host
stack out of sync with respect to connection handle.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index d5377740e99c..8abd08245326 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -1156,7 +1156,7 @@ int hci_conn_switch_role(struct hci_conn *conn, __u8 role); void hci_conn_enter_active_mode(struct hci_conn *conn, __u8 force_active); -void hci_le_conn_failed(struct hci_conn *conn, u8 status); +void hci_conn_failed(struct hci_conn *conn, u8 status); /* * hci_conn_get() and hci_conn_put() are used to control the life-time of an |