Commit 536e5189 authored by Pavel Roskin's avatar Pavel Roskin Committed by John W. Linville

ath5k: add missing ieee80211_free_hw() on unload in AHB code

Signed-off-by: default avatarPavel Roskin <proski@gnu.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0e8d1602
...@@ -219,6 +219,7 @@ static int ath_ahb_remove(struct platform_device *pdev) ...@@ -219,6 +219,7 @@ static int ath_ahb_remove(struct platform_device *pdev)
ath5k_deinit_softc(sc); ath5k_deinit_softc(sc);
platform_set_drvdata(pdev, NULL); platform_set_drvdata(pdev, NULL);
ieee80211_free_hw(hw);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment