]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_sync: Cleanup hci_conn if it cannot be aborted
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Apr 2022 19:58:18 +0000 (12:58 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 26 Apr 2022 18:10:51 +0000 (20:10 +0200)
commit5fd0604b2fe026b25b2d287a33465211578e5e65
tree1c73ca2c7218cac0ca4585be26d03aeb8a3596c1
parentd67aa2c1938c12b5d4059fe188bbff07ac69cfce
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c
net/bluetooth/hci_sync.c