]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf315188c06821d64b87fda294bd6ddf3dd704993
treebf2be663f7caf6ebd6caf9aafdbe0526800dc928
parent709609586d718cbaa49dfac58b3d2c15aca61da3
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