OSDN Git Service

Bluetooth: Handle system suspend resume case
authorHoward Chung <howardchung@google.com>
Thu, 26 Nov 2020 04:22:22 +0000 (12:22 +0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Dec 2020 15:00:47 +0000 (17:00 +0200)
commit36afe87ac10fd71f98c40ccf9923b83e0d3fab68
tree05ab19c038c7a3b3e7184c534b6a3d596442a775
parentc4f1f408168cd6a83d973e98e1cd1888e4d3d907
Bluetooth: Handle system suspend resume case

This patch adds code to handle the system suspension during interleave
scan. The interleave scan will be canceled when the system is going to
sleep, and will be restarted after waking up.

Signed-off-by: Howard Chung <howardchung@google.com>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Reviewed-by: Manish Mandlik <mmandlik@chromium.org>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_request.c