Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 103d4f5e authored by Michal Kazior's avatar Michal Kazior Committed by Kalle Valo
Browse files

ath10k: don't forget to kill fw error tasklet



It was possible for FW error tasklet to be
executed during teardown. This could lead to
system crashes and/or memory corruption.

Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent fad6ed78
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -888,6 +888,7 @@ static void ath10k_pci_stop_ce(struct ath10k *ar)

	/* Cancel the pending tasklet */
	tasklet_kill(&ar_pci->intr_tq);
	tasklet_kill(&ar_pci->msi_fw_err);

	for (i = 0; i < CE_COUNT; i++)
		tasklet_kill(&ar_pci->pipe_info[i].intr);