ath9k: get rid of unnecessary setpower calls
authorGabor Juhos <juhosg@openwrt.org>
Fri, 24 Jul 2009 15:27:22 +0000 (17:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jul 2009 19:46:04 +0000 (15:46 -0400)
commitcbdec9758736c30ecbb03651b0c2915c442a5895
treec3d1d7fc94bfe9b2f4dfdf12463adc5902d55513
parent96148326c4b54db5c384def1a5ab285c359d1395
ath9k: get rid of unnecessary setpower calls

We are using setpower routines regardless of the current power mode.
Don't bother the hardware, if it is not necessary.

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/hw.c