From: Johannes Berg We never kill the wake_txqs_tasklet so it could be running while the hardware is being freed. Kill it, late enough to never be able to restart afterwards. Assisted-by: LLM Fixes: 21a5d4c3a45c ("mac80211: add stop/start logic for software TXQs") Signed-off-by: Johannes Berg --- net/mac80211/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/mac80211/main.c b/net/mac80211/main.c index b889d2a7ef75..ad7dfc07ee63 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -1738,6 +1738,8 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw) cancel_work_sync(&local->restart_work); + tasklet_kill(&local->wake_txqs_tasklet); + ieee80211_clear_tx_pending(local); rate_control_deinitialize(local); -- 2.55.0