]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k_hw: fix hardware deinit
authorSujith <Sujith.Manoharan@atheros.com>
Wed, 17 Mar 2010 08:55:24 +0000 (14:25 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:14 +0000 (11:22 -0700)
commitc24e9e6e543398eaeae95f2d2f6f5b59852f3e06
treefb81c58d495cd97c880fc005a01b180f2456f36c
parent787b18bfea20bb38b610258564e43b51f4f04041
ath9k_hw: fix hardware deinit

commit 736b3a27b3c50c4a23717b802240435a69e8d0ff upstream.

Without this you will get a panic if the device initialization
fails. Also, free ath_hw instance properly. ath9k_hw_deinit()
shouldn't do it.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/init.c