ath9k_hw: Fix tx power settings for AR9003
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 10 Nov 2011 09:44:57 +0000 (15:14 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:52 +0000 (12:32 -0500)
commit8915f980c1b051b4ddc7d15e027a5896611e4029
tree4a48182aad4e9879c539cbba650ba3956b5df9c5
parent029458212604570eec4789049a8a74428484dbb4
ath9k_hw: Fix tx power settings for AR9003

Retriving tx power for 2x2 and 3x3 chainmask is not handled
properly. While calculating tx power for 2x2, 3 dBm was reduced
and for 3x3, 5 dBm was reduced which should be added back when
retriving.

Cc: Paul Stewart <pstew@google.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c