commit | b869cbdcd2201cfb5c4dbd2f1504abeec43940a1 | [log] [tgz] |
---|---|---|
author | Abhishek Pandit-Subedi <abhishekpandit@chromium.org> | Thu Dec 17 23:04:08 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 06 14:02:18 2021 |
tree | 2410aedaecfef3e4ffdfb7a9ac89d80ff568dbe6 | |
parent | b9cd13738c5b45d9974621591a539a799a43b0b7 [diff] |
FROMGIT: Bluetooth: Pause service discovery for suspend Just like MGMT_OP_START_DISCOVERY, we should reject MGMT_OP_START_SERVICE_DISCOVERY with MGMT_STATUS_BUSY when we are paused for suspend. Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> (cherry picked from commit 36211f7fc1e79d83b4a0461d9d65961ca5ef8150 https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/ master) BUG=b:175653326 TEST=Ran new bluetooth_AdapterSRHealth.sr_while_discovering with and without this fix. Confirmed test fails before fix and passes after fix and checked logs for start_discov_update returning 0x0c. Change-Id: If6feff48e17a881af9cb55526db7f53bf0db40f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2597997 Commit-Queue: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Tested-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Reviewed-by: Sean Paul <seanpaul@chromium.org> Reviewed-by: Alain Michaud <alainm@chromium.org> (cherry picked from commit c649f8203ab223a0be34e6d0cef6cd111b601c20) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2612509 Auto-Submit: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Commit-Queue: Alain Michaud <alainm@chromium.org>