commit | 536e5189ffdf17047f129f4730d947ab11a8526b | [log] [tgz] |
---|---|---|
author | Pavel Roskin <proski@gnu.org> | Fri Jun 17 17:59:02 2011 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Jun 20 15:34:19 2011 -0400 |
tree | dbf36f2b16848967495d7f0e937ede6cfcbb73cd | |
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>
diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c index ea99827..c38e9e8 100644 --- a/drivers/net/wireless/ath/ath5k/ahb.c +++ b/drivers/net/wireless/ath/ath5k/ahb.c
@@ -219,6 +219,7 @@ ath5k_deinit_softc(sc); platform_set_drvdata(pdev, NULL); + ieee80211_free_hw(hw); return 0; }