OSDN Git Service

ath9k: avoid usage of ath9k_hw_setpower() on hw.c
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 10 Sep 2009 03:54:36 +0000 (20:54 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:24 +0000 (16:39 -0400)
commit1adc93c832726c9de4a43445c008a7f17549390b
tree0ca880249f5f0290b2f5aac099591daa6bde29e6
parenta91d75aec19d8d23c7c543dd4bc0e394e1d46867
ath9k: avoid usage of ath9k_hw_setpower() on hw.c

ath9k_hw_setpower() is a core driver helper with locking
protection. Locking protection should be left to the driver
core, not the hw code. Hardware code no longer contends for
locking when it needs to wake up the chip or put it to sleep.

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