diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 623c2f884987..6063f5463708 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c | |||
@@ -758,6 +758,9 @@ static void ath9k_deinit_softc(struct ath_softc *sc) | |||
758 | 758 | ||
759 | tasklet_kill(&sc->intr_tq); | 759 | tasklet_kill(&sc->intr_tq); |
760 | tasklet_kill(&sc->bcon_tasklet); | 760 | tasklet_kill(&sc->bcon_tasklet); |
761 | |||
762 | kfree(sc->sc_ah); | ||
763 | sc->sc_ah = NULL; | ||
761 | } | 764 | } |
762 | 765 | ||
763 | void ath9k_deinit_device(struct ath_softc *sc) | 766 | void ath9k_deinit_device(struct ath_softc *sc) |