summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/pci.c
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2013-11-08 08:01:24 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2013-11-12 20:06:44 +0200
commit103d4f5ed68b2667c134189749fb48cb7c96aa80 (patch)
tree8789580f4e2dc87503399de18d2f1a55ed53adfb /drivers/net/wireless/ath/ath10k/pci.c
parentfad6ed7867f41b2a9a7fc6cd01db37f33a29da1e (diff)
downloadop-kernel-dev-103d4f5ed68b2667c134189749fb48cb7c96aa80.zip
op-kernel-dev-103d4f5ed68b2667c134189749fb48cb7c96aa80.tar.gz
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: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index f054d4c..31cdde0 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -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);
OpenPOWER on IntegriCloud