Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de0170be authored by Ben Greear's avatar Ben Greear Committed by Kalle Valo
Browse files

ath10k: ensure txrx-compl-task is stopped when cleaning htt-tx



Otherwise, the txrx-compl-task may access some bad memory?

Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 2ba1f370
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);