diff options
| author | Ben Greear <[email protected]> | 2016-06-30 15:23:53 +0300 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-07-08 09:41:55 +0300 |
| commit | de0170beaa88bc5d7210a72db7cd5738a59bc23d (patch) | |
| tree | b763c9e69267c86326ce87f65b6a60033664d8e9 | |
| parent | 2ba1f3709452a1e55b9944bdda88b043b6b3fad0 (diff) | |
ath10k: ensure txrx-compl-task is stopped when cleaning htt-tx
Otherwise, the txrx-compl-task may access some bad memory?
Signed-off-by: Ben Greear <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
| -rw-r--r-- | drivers/net/wireless/ath/ath10k/htt_tx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt_tx.c b/drivers/net/wireless/ath/ath10k/htt_tx.c index ae5b33fe5ba8..7c072b605bc7 100644 --- 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); |