OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad6ed7
)
ath10k: don't forget to kill fw error tasklet
author
Michal Kazior
<michal.kazior@tieto.com>
Fri, 8 Nov 2013 07:01:24 +0000
(08:01 +0100)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Tue, 12 Nov 2013 18:06:44 +0000
(20:06 +0200)
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>
drivers/net/wireless/ath/ath10k/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/ath10k/pci.c
index
f054d4c
..
31cdde0
100644
(file)
--- 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);