]> 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)
commit6a134df1a806d9a2c4a454dcddd64b70e4703477
tree1c73ca2c7218cac0ca4585be26d03aeb8a3596c1
parentbbd57faf2bdcd6c99a2e3feec2d73c809529eba6
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