]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit970bf9d40c03e48cc34ee2c1a70693a0e0fca3f6
tree8ab38c35017c1107fc1cc72e1b204fe98fed0bf7
parent4198a8d036c998ca8cec1b08116ab9f6a3a9ffff
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