Bluetooth: hci_sync: Attempt to dequeue connection attempt
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 13 Feb 2024 14:59:32 +0000 (09:59 -0500)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 6 Mar 2024 22:24:06 +0000 (17:24 -0500)
commit881559af5f5c545f6828e7c74d79813eb886d523
tree9e3c7c8ca4c985949073cdef99e6a9c87dce18d3
parent505ea2b295929e7be2b4e1bc86ee31cb7862fb01
Bluetooth: hci_sync: Attempt to dequeue connection attempt

If connection is still queued/pending in the cmd_sync queue it means no
command has been generated and it should be safe to just dequeue the
callback when it is being aborted.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_core.h
include/net/bluetooth/hci_sync.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_sync.c