aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJonathan Bither <jonbither@gmail.com>2012-04-24 05:20:15 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-27 15:24:07 -0400
commit3708dc248946daba8802c8f31a68dca81ffc445f (patch)
tree3626d2e0f24473033bae242d662ab2a63aa67c31 /drivers/net
parentbrcm80211: fmac: fix missing completion events issue (diff)
downloadlinux-dev-3708dc248946daba8802c8f31a68dca81ffc445f.tar.xz
linux-dev-3708dc248946daba8802c8f31a68dca81ffc445f.zip
ath5k: add missing iounmap to AHB probe removal
When our driver device is removed on the AHB bus, our IO memory is never unmapped. Signed-off-by: Jonathan Bither <jonbither@gmail.com> Reviewed-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath5k/ahb.c1
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 8c50d9d19d78..aec33cc207fd 100644
--- a/drivers/net/wireless/ath/ath5k/ahb.c
+++ b/drivers/net/wireless/ath/ath5k/ahb.c
@@ -220,6 +220,7 @@ static int ath_ahb_remove(struct platform_device *pdev)
}
ath5k_deinit_ah(ah);
+ iounmap(ah->iobase);
platform_set_drvdata(pdev, NULL);
ieee80211_free_hw(hw);