]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Handle BR/EDR devices during suspend
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Wed, 11 Mar 2020 15:54:01 +0000 (08:54 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Mar 2020 17:01:47 +0000 (18:01 +0100)
commit7b6da2201dd0c211d4705b5b4c62baaff9973074
tree707dea2a3f4ae13aefd6b7797394e2b2485ad26e
parent9cd2249fb93439afbc71fe70cb4080b999c52142
Bluetooth: Handle BR/EDR devices during suspend

To handle BR/EDR devices, we first disable page scan and disconnect all
connected devices. Once that is complete, we add event filters (for
devices that can wake the system) and re-enable page scan.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/hci_request.c