aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_request.c
diff options
context:
space:
mode:
authorZhengping Jiang <[email protected]>2022-08-23 17:28:08 +0000
committerLuiz Augusto von Dentz <[email protected]>2022-08-25 23:22:30 +0000
commitb828854871f6851c75a5b19f1cd967bf4e7c85dd (patch)
tree054f263b51a3c5a318aa87f01b087bdca061151b /net/bluetooth/hci_request.c
parentBluetooth: move from strlcpy with unused retval to strscpy (diff)
downloadkernel-b828854871f6851c75a5b19f1cd967bf4e7c85dd.tar.gz
kernel-b828854871f6851c75a5b19f1cd967bf4e7c85dd.zip
Bluetooth: hci_sync: hold hdev->lock when cleanup hci_conn
When disconnecting all devices, hci_conn_failed is used to cleanup hci_conn object when the hci_conn object cannot be aborted. The function hci_conn_failed requires the caller holds hdev->lock. Fixes: 9b3628d79b46f ("Bluetooth: hci_sync: Cleanup hci_conn if it cannot be aborted") Signed-off-by: Zhengping Jiang <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions