diff options
author | Pavel Roskin <proski@gnu.org> | 2011-06-17 17:59:02 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-20 15:34:19 -0400 |
commit | 536e5189ffdf17047f129f4730d947ab11a8526b (patch) | |
tree | dbf36f2b16848967495d7f0e937ede6cfcbb73cd /drivers/net/wireless/ath/ath5k | |
parent | 0e8d1602b223efcd4eaaa799314f5d7ad1742035 (diff) |
ath5k: add missing ieee80211_free_hw() on unload in AHB code
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ahb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c index ea9982781559..c38e9e848995 100644 --- a/drivers/net/wireless/ath/ath5k/ahb.c +++ b/drivers/net/wireless/ath/ath5k/ahb.c | |||
@@ -219,6 +219,7 @@ static int ath_ahb_remove(struct platform_device *pdev) | |||
219 | 219 | ||
220 | ath5k_deinit_softc(sc); | 220 | ath5k_deinit_softc(sc); |
221 | platform_set_drvdata(pdev, NULL); | 221 | platform_set_drvdata(pdev, NULL); |
222 | ieee80211_free_hw(hw); | ||
222 | 223 | ||
223 | return 0; | 224 | return 0; |
224 | } | 225 | } |