]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath5k: Preserve tx power level requested from above on phy_init
authorNick Kossifidis <mickflemm@gmail.com>
Sun, 5 Aug 2012 19:35:35 +0000 (22:35 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Aug 2012 19:26:56 +0000 (15:26 -0400)
commit493ca5ef4ec8a7e8396d6ab26f48de66bdf73dca
tree0fb379fe399b5489c71578dcb45efdb1dc8f18f3
parent755051993bfcdf07acd84a7ffd08d463b85bfd69
ath5k: Preserve tx power level requested from above on phy_init

By using cur_pwr on phy_init we re-use the power level previously set by the
driver, not the one we got from above.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c