Re: [PATCH] Bluetooth: Check scan state before disabling during suspend

2020-06-03 Thread Marcel Holtmann
Hi Manish, > Check current scan state by checking HCI_LE_SCAN flag and send scan > disable command only if scan is already enabled. > > Signed-off-by: Manish Mandlik > --- > > net/bluetooth/hci_request.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) patch has been applied t

Re: [PATCH] Bluetooth: Check scan state before disabling during suspend

2020-06-01 Thread Abhishek Pandit-Subedi
Hey linux-bluetooth, We found this bug when reverting some Chromium maintained patches in our repository that was conditionally dropping LE scan enable commands if it wasn't toggling between true/false. On some Intel controllers, disabling LE scan when it's already disabled resulted in a "Command