ath5k: Fix AR5K_PHY_TXPOWER_RATE_MAX register value setting.
authorNickolay Ledovskikh <nledovskikh@gmail.com>
Fri, 25 Apr 2014 18:53:34 +0000 (22:53 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Apr 2014 16:13:07 +0000 (12:13 -0400)
commit4c8a3486cb577d40c1ef75f0a8dc9a04773eef83
tree6d80e9cb3b48e6635f34079cadb5032183100958
parent45eeeaf6cb72aa41846c495fe3fa6b1c67d8be18
ath5k: Fix AR5K_PHY_TXPOWER_RATE_MAX register value setting.

I was reading ath5k power setting code and
noticed typing error in ath5k_hw_txpower function.
Invalid value was written to AR5K_PHY_TXPOWER_RATE_MAX
register.

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