diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 7b1eab4d85cb..e55f7181e653 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1358,9 +1358,9 @@ void ath_cleanup(struct ath_softc *sc) | |||
1358 | free_irq(sc->irq, sc); | 1358 | free_irq(sc->irq, sc); |
1359 | ath_bus_cleanup(common); | 1359 | ath_bus_cleanup(common); |
1360 | kfree(sc->sec_wiphy); | 1360 | kfree(sc->sec_wiphy); |
1361 | ieee80211_free_hw(sc->hw); | ||
1362 | 1361 | ||
1363 | ath9k_uninit_hw(sc); | 1362 | ath9k_uninit_hw(sc); |
1363 | ieee80211_free_hw(sc->hw); | ||
1364 | } | 1364 | } |
1365 | 1365 | ||
1366 | static int ath9k_reg_notifier(struct wiphy *wiphy, | 1366 | static int ath9k_reg_notifier(struct wiphy *wiphy, |