Commit 6083089a authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Sasha Levin
Browse files

Bluetooth: hci_conn: Consolidate code for aborting connections



[ Upstream commit a13f316e ]

This consolidates code for aborting connections using
hci_cmd_sync_queue so it is synchronized with other threads, but
because of the fact that some commands may block the cmd_sync_queue
while waiting specific events this attempt to cancel those requests by
using hci_cmd_sync_cancel.

Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Stable-dep-of: 2615fd9a ("Bluetooth: hci_sync: Fix overwriting request callback")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ac7a47aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment