]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: get correct tx gain type in ath9k_hw_4k_get_eeprom
authorGabor Juhos <juhosg@openwrt.org>
Tue, 5 Oct 2010 09:32:17 +0000 (11:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:37:52 +0000 (13:37 -0400)
commit76960f0e28cc64223366f16c9934485ab27adbb7
tree8ab38c35017c1107fc1cc72e1b204fe98fed0bf7
parent682b90b1deb2e3fd4e722f7d07937d56acce9ad3
ath9k: get correct tx gain type in ath9k_hw_4k_get_eeprom

The base_eep_header_4k structure contains information that the
device supports high power tx gain table or not. However the
ath9k_hw_4k_get_eeprom function does not return that value when
it is called with EEP_TXGAIN_TYPE. This leads to that the tx gain
initialization will use the init values from the original tx gain
table even if the device inidicates that the high power table
should be used.

Changes-licensed-under: ISC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Shu Hwa Shen <shensh@zcomm.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/eeprom_4k.c