OSDN Git Service

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)
commit4f40afc6c76451daff7d0dcfc8a3d113ccf65bfc
tree707dea2a3f4ae13aefd6b7797394e2b2485ad26e
parent9952d90ea2885d7cbf80cd233f694f09a9c0eaec
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