Skip to content

Commit df1e5c5

Browse files
Panicker Harishholtmann
authored andcommitted
Bluetooth: hci_qca: Stop IBS timer during BT OFF
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: 3e4be65 ("Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990") Signed-off-by: Panicker Harish <quic_pharish@quicinc.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
1 parent 6932627 commit df1e5c5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/bluetooth/hci_qca.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,6 +1928,9 @@ static int qca_power_off(struct hci_dev *hdev)
19281928
hu->hdev->hw_error = NULL;
19291929
hu->hdev->cmd_timeout = NULL;
19301930

1931+
del_timer_sync(&qca->wake_retrans_timer);
1932+
del_timer_sync(&qca->tx_idle_timer);
1933+
19311934
/* Stop sending shutdown command if soc crashes. */
19321935
if (soc_type != QCA_ROME
19331936
&& qca->memdump_state == QCA_MEMDUMP_IDLE) {

0 commit comments

Comments
 (0)