ath9k: fix double calls to ath_radio_enable
authorFelix Fietkau <nbd@openwrt.org>
Tue, 6 Apr 2010 19:05:01 +0000 (12:05 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Apr 2010 19:53:33 +0000 (15:53 -0400)
commit1144601118507f8b3b676a9a392584d216d3f2cc
tree0cbe9320677c2b11e3ab02348281c5f3a8fe6f4b
parent0379185b6c0d1e8252023698cf1091da92a3dc03
ath9k: fix double calls to ath_radio_enable

With the enable_radio being uninitialized, ath_radio_enable() might be
called twice, which can leave some hardware in an undefined state.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c