]> git.baikalelectronics.ru Git - kernel.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)
commitee692ae3c957074080c0bfaa8e79c2d6c0f2ab21
tree0fb379fe399b5489c71578dcb45efdb1dc8f18f3
parent3d0e877e86db06f79ad0ef2cde83bf23e72f7ecf
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