mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 05:36:43 +07:00
ath5k: Skip tx power setting on AR5210 for now
* Don't return -EINVAL when trying to set tx power on RF5110 because AR5210 reset will fail. We need to add support for RF5110 and AR5210 eeprom in the future but for now just skip it. Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b02f5d1a17
commit
3bb1765460
@ -3109,6 +3109,9 @@ ath5k_hw_txpower(struct ath5k_hw *ah, struct ieee80211_channel *channel,
|
||||
|
||||
/* Initialize TX power table */
|
||||
switch (ah->ah_radio) {
|
||||
case AR5K_RF5110:
|
||||
/* TODO */
|
||||
return 0;
|
||||
case AR5K_RF5111:
|
||||
type = AR5K_PWRTABLE_PWR_TO_PCDAC;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user