This patch fixes a previous patch which did not remove setting scanning_paused to false after resuming. So after setting the value, the function to update scan will always quit. Also need to set the value first before updating passive scan. BUG=b:236868580,b:236340454 TEST=verified suspend is fixed in volteer with LE mouse TEST=bluetooth_AdapterSRHealth.sr_peer_wake_le_hid TEST=bluetooth_AdapterCLHealth.cl_adapter_pairing_suspend_resume_test Changes in v2: - Reduce title length Changes in v1: - Fix updating passive scan after suspend resume Zhengping Jiang (1): Bluetooth: hci_sync: Fix resuming scan after suspend resume net/bluetooth/hci_sync.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.37.0.144.g8ac04bfd2-goog