From: Michal Kazior Date: Fri, 8 Nov 2013 07:01:24 +0000 (+0100) Subject: ath10k: don't forget to kill fw error tasklet X-Git-Tag: next-20131210~53^2~32^2~32 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=103d4f5ed68b2667c134189749fb48cb7c96aa80;p=karo-tx-linux.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index f054d4c30245..31cdde05562e 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);