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)
commit76d4c130ea44404ce6d6b1008f4729a6547c22c9
treeba5a57c1b73f159bbc0ef59649eda8f40ea55df4
parent70a7808b50b119fa5c00e5704e20e27d79b8cf4c
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