]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btmrvl_sdio: Implement prevent_wake
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Thu, 11 Jun 2020 01:53:54 +0000 (18:53 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2020 06:38:52 +0000 (08:38 +0200)
commit7351fe094ee8542c7e2cca414e042b0e050c2a4b
treeba5a57c1b73f159bbc0ef59649eda8f40ea55df4
parent9bcbd46ab791ea6ce45b51ac1cec7c94c353bbbd
Bluetooth: btmrvl_sdio: Implement prevent_wake

Use the parent device's power/wakeup to control whether we support
remote wake. If remote wakeup is disabled, Bluetooth will not enable
scanning for incoming connections.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_main.c