commit | b7d0bf11a7ad0e97721a5c4a209ba749649f8b9e | [log] [tgz] |
---|---|---|
author | Abhishek Pandit-Subedi <abhishekpandit@chromium.org> | Tue May 12 19:19:27 2020 -0700 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed May 13 09:12:04 2020 +0200 |
tree | c37511127a594e3864dc00fe519048d4b1285663 | |
parent | 81dafad53c67abe4f09b0b04131fe490e76e5602 [diff] |
Bluetooth: btusb: Implement hdev->prevent_wake Implement the prevent_wake hook by checking device_may_wakeup on the usb interface. This prevents the Bluetooth core from enabling scanning when the device isn't expected to wake from suspend. Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Reviewed-by: Alain Michaud <alainm@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>