Skip to content

Commit 70eec71

Browse files
Panicker Harishgregkh
authored andcommitted
Bluetooth: hci_qca: Stop IBS timer during BT OFF
[ Upstream commit df1e5c5 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 1d4e722 commit 70eec71

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
@@ -1844,6 +1844,9 @@ static int qca_power_off(struct hci_dev *hdev)
18441844
hu->hdev->hw_error = NULL;
18451845
hu->hdev->cmd_timeout = NULL;
18461846

1847+
del_timer_sync(&qca->wake_retrans_timer);
1848+
del_timer_sync(&qca->tx_idle_timer);
1849+
18471850
/* Stop sending shutdown command if soc crashes. */
18481851
if (soc_type != QCA_ROME
18491852
&& qca->memdump_state == QCA_MEMDUMP_IDLE) {

0 commit comments

Comments
 (0)