|
@@ -108,8 +108,7 @@ static void ar9280_20_hw_init_rxgain_ini(struct ath_hw *ah)
|
|
|
{
|
|
|
u32 rxgain_type;
|
|
|
|
|
|
- if (ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV) >=
|
|
|
- AR5416_EEP_MINOR_VER_17) {
|
|
|
+ if (ah->eep_ops->get_eeprom_rev(ah) >= AR5416_EEP_MINOR_VER_17) {
|
|
|
rxgain_type = ah->eep_ops->get_eeprom(ah, EEP_RXGAIN_TYPE);
|
|
|
|
|
|
if (rxgain_type == AR5416_EEP_RXGAIN_13DB_BACKOFF)
|
|
@@ -129,8 +128,7 @@ static void ar9280_20_hw_init_rxgain_ini(struct ath_hw *ah)
|
|
|
|
|
|
static void ar9280_20_hw_init_txgain_ini(struct ath_hw *ah, u32 txgain_type)
|
|
|
{
|
|
|
- if (ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV) >=
|
|
|
- AR5416_EEP_MINOR_VER_19) {
|
|
|
+ if (ah->eep_ops->get_eeprom_rev(ah) >= AR5416_EEP_MINOR_VER_19) {
|
|
|
if (txgain_type == AR5416_EEP_TXGAIN_HIGH_POWER)
|
|
|
INIT_INI_ARRAY(&ah->iniModesTxGain,
|
|
|
ar9280Modes_high_power_tx_gain_9280_2);
|