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

From: Marcel Holtmann
Date: Wed Jun 03 2020 - 13:52:39 EST


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 <mmandlik@xxxxxxxxxx>
> ---
>
> net/bluetooth/hci_request.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel