Commit 10488f8a authored by Jiri Slaby's avatar Jiri Slaby Committed by John W. Linville
Browse files

Ath5k: kill tasklets on shutdown

Don't forget to kill tasklets on stop to not panic if they
fire after freeing some structures.
Signed-off-by: default avatarJiri Slaby <>
Acked-by: default avatarNick Kossifidis <>
Cc: Luis R. Rodriguez <>
Signed-off-by: default avatarJohn W. Linville <>
parent 3a0f2c87
...@@ -2342,6 +2342,9 @@ ath5k_stop_hw(struct ath5k_softc *sc) ...@@ -2342,6 +2342,9 @@ ath5k_stop_hw(struct ath5k_softc *sc)
mutex_unlock(&sc->lock); mutex_unlock(&sc->lock);
del_timer_sync(&sc->calib_tim); del_timer_sync(&sc->calib_tim);
return ret; return ret;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment