]> 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)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 23 Mar 2010 20:50:16 +0000 (16:50 -0400)
commit736b3a27b3c50c4a23717b802240435a69e8d0ff
tree31146e064aa07c32ce881e11a335f566e8cad367
parent05020d236e91ddab1cb42483843a8995b3be1adf
ath9k_hw: fix hardware deinit

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.

Cc: stable@kernel.org
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>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/init.c