Bluetooth: Pause service discovery for suspend
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Thu, 17 Dec 2020 23:04:08 +0000 (15:04 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Dec 2020 21:31:04 +0000 (22:31 +0100)
commit36211f7fc1e79d83b4a0461d9d65961ca5ef8150
treebf2be663f7caf6ebd6caf9aafdbe0526800dc928
parent3b0d5250be30e76727284bb9e4c26b662ede7378
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>
net/bluetooth/mgmt.c