Re: [PATCH v4] Bluetooth: hci_qca: Stop IBS timer during BT OFF

From: Marcel Holtmann
Date: Wed Dec 22 2021 - 03:33:23 EST


Hi Panicker,

> The IBS timers are not stopped properly once BT OFF is triggered.
> we could see IBS commands being sent along with version command,
> so stopped IBS timers while Bluetooth is off.
>
> Fixes: 3e4be65eb82c ("Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990")
>
> Signed-off-by: Panicker Harish <quic_pharish@xxxxxxxxxxx>
> ----
> v4:
> * Used del_timer_sync() instead of mod_timer() to stop the timer and
> to make sure the handler has finished executing on other CPUs.
>
> v3:
> *Addressed reviewers comments
> *updated commit message
>
> v2:
> * Addressed the username
> * The full implementation of IBS is based on timers
> to that reason we have used timers.
>
> v1: initial patch
> ---
> drivers/bluetooth/hci_qca.c | 3 +++
> 1 file changed, 3 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel