]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: disable advertisement filters during suspend
authorHoward Chung <howardchung@google.com>
Fri, 22 Jan 2021 08:36:17 +0000 (16:36 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 25 Jan 2021 15:07:37 +0000 (16:07 +0100)
commit2d33bc8a9b1b7df7604f63d898fd8873d57458c0
treedfb7cd0fab4d130a2aaff2b9cff09bffd681ae66
parent9633a3ac9d16a01354c12bd7685e9212493c1b5e
Bluetooth: disable advertisement filters during suspend

This adds logic to disable and reenable advertisement filters during
suspend and resume. After this patch, we would only receive packets from
devices in allow list during suspend.

Signed-off-by: Howard Chung <howardchung@google.com>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_request.c
net/bluetooth/msft.c
net/bluetooth/msft.h