ath9k: serialize ath9k_hw_setpower calls
authorGabor Juhos <juhosg@openwrt.org>
Wed, 15 Jul 2009 00:17:13 +0000 (20:17 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:18 +0000 (15:05 -0400)
commit04717ccd80e5acc500239222684fcf8d2c759a84
treea506fc7ab3bca88e39a54952b822006d97765920
parentebaa24534ef54a8f665558536dbef3a761a9b841
ath9k: serialize ath9k_hw_setpower calls

Because ath9k_setpower is called from various contexts, we have to
protect it against concurrent calls.

Changes-licensed-under: ISC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/main.c