summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_request.c
diff options
context:
space:
mode:
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>2021-03-01 12:06:04 -0800
committerMarcel Holtmann <marcel@holtmann.org>2021-03-02 15:02:55 +0100
commit5cb08553f7f2536f2f5a9142a060af2a77c1d5dc (patch)
tree089b3966b2b83d495dc2e1165af192f1fda2eb71 /net/bluetooth/hci_request.c
parent201cf3976c065fc47ab260302d06690f73587df9 (diff)
Bluetooth: Notify suspend on le conn failed
When suspending, Bluetooth disconnects all connected peers devices. If an LE connection is started but isn't completed, we will see an LE Create Connection Cancel instead of an HCI disconnect. This just adds a check to see if an LE cancel was the last disconnected device and wake the suspend thread when that is the case. Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Reviewed-by: Archie Pusaka <apusaka@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions