]> git.baikalelectronics.ru Git - kernel.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)
commitd34bd61943368d26d0c23542c5eac4619ed73393
tree31146e064aa07c32ce881e11a335f566e8cad367
parent51e9ac9ba40771c593e7d7791bfca9f284f0e871
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