projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba1f37
)
ath10k: ensure txrx-compl-task is stopped when cleaning htt-tx
author
Ben Greear
<greearb@candelatech.com>
Thu, 30 Jun 2016 12:23:53 +0000
(15:23 +0300)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Fri, 8 Jul 2016 06:41:55 +0000
(09:41 +0300)
Otherwise, the txrx-compl-task may access some bad memory?
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/htt_tx.c
b/drivers/net/wireless/ath/ath10k/htt_tx.c
index ae5b33fe5ba82b26d76c0559c7512b362d3404de..7c072b605bc7e8c7a865befb933210304fc18854 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/htt_tx.c
+++ b/
drivers/net/wireless/ath/ath10k/htt_tx.c
@@
-390,6
+390,8
@@
void ath10k_htt_tx_free(struct ath10k_htt *htt)
{
int size;
+ tasklet_kill(&htt->txrx_compl_task);
+
idr_for_each(&htt->pending_tx, ath10k_htt_tx_clean_up_pending, htt->ar);
idr_destroy(&htt->pending_tx);