Re: [PATCH] Bluetooth: Don't restart scanning if paused

2020-06-24 Thread Marcel Holtmann
Hi Abhishek, > When restarting LE scanning, check if it's currently paused before > enabling passive scanning. > > Signed-off-by: Abhishek Pandit-Subedi > --- > When running suspend stress tests on Chromebooks, we discovered > instances where the Chromebook didn't enter the deepest idle states >

[PATCH] Bluetooth: Don't restart scanning if paused

2020-06-24 Thread Abhishek Pandit-Subedi
When restarting LE scanning, check if it's currently paused before enabling passive scanning. Signed-off-by: Abhishek Pandit-Subedi --- When running suspend stress tests on Chromebooks, we discovered instances where the Chromebook didn't enter the deepest idle states (i.e. S0ix). After some debug