diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 6641fbedd6d0..633fe8b6f5f7 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -1232,6 +1232,7 @@ void ath9k_hw_detach(struct ath_hw *ah) | |||
1232 | ath9k_hw_rf_free(ah); | 1232 | ath9k_hw_rf_free(ah); |
1233 | ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP); | 1233 | ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP); |
1234 | kfree(ah); | 1234 | kfree(ah); |
1235 | ah = NULL; | ||
1235 | } | 1236 | } |
1236 | 1237 | ||
1237 | /*******/ | 1238 | /*******/ |