Skip to content

Commit

Permalink
ath5k: add missing ieee80211_free_hw() on unload in AHB code
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Pavel Roskin authored and John W. Linville committed Jun 20, 2011
1 parent 0e8d160 commit 536e518
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/ath/ath5k/ahb.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ static int ath_ahb_remove(struct platform_device *pdev)

ath5k_deinit_softc(sc);
platform_set_drvdata(pdev, NULL);
ieee80211_free_hw(hw);

return 0;
}
Expand Down

0 comments on commit 536e518

Please sign in to comment.