ath9k_hw: Cleanup TX power calculation for AR9287
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 1 Jun 2010 09:44:07 +0000 (15:14 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Jun 2010 18:10:46 +0000 (14:10 -0400)
commita55f858852e4345d0a31af593c46738ca8614bff
tree0859e47e0d7414658937139c85a8bc0307ad3351
parent79d7f4bcf8519abbea46d909ff01a1358b431e1d
ath9k_hw: Cleanup TX power calculation for AR9287

* Add a few comments, and move the updation of max_power_level
  to a helper routine. This is also done by non-4K based chipsets,
  this will be fixed in a separate patch.

* Remove two WARs which are required for old AR5416 chipsets,
  and are not needed for AR9287.

* Fix indentation and make things readable.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/eeprom.c
drivers/net/wireless/ath/ath9k/eeprom.h
drivers/net/wireless/ath/ath9k/eeprom_9287.c