|
@@ -929,16 +929,15 @@ static int ar9003_hw_process_ini(struct ath_hw *ah,
|
|
REG_WRITE_ARRAY(&ah->ini_modes_rxgain_xlna,
|
|
REG_WRITE_ARRAY(&ah->ini_modes_rxgain_xlna,
|
|
modesIndex, regWrites);
|
|
modesIndex, regWrites);
|
|
}
|
|
}
|
|
-
|
|
|
|
- if (AR_SREV_9561(ah) && (ar9003_hw_get_rx_gain_idx(ah) == 0))
|
|
|
|
- REG_WRITE_ARRAY(&ah->ini_modes_rxgain_xlna,
|
|
|
|
- modesIndex, regWrites);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
if (AR_SREV_9550(ah) || AR_SREV_9561(ah))
|
|
if (AR_SREV_9550(ah) || AR_SREV_9561(ah))
|
|
REG_WRITE_ARRAY(&ah->ini_modes_rx_gain_bounds, modesIndex,
|
|
REG_WRITE_ARRAY(&ah->ini_modes_rx_gain_bounds, modesIndex,
|
|
regWrites);
|
|
regWrites);
|
|
|
|
|
|
|
|
+ if (AR_SREV_9561(ah) && (ar9003_hw_get_rx_gain_idx(ah) == 0))
|
|
|
|
+ REG_WRITE_ARRAY(&ah->ini_modes_rxgain_xlna,
|
|
|
|
+ modesIndex, regWrites);
|
|
/*
|
|
/*
|
|
* TXGAIN initvals.
|
|
* TXGAIN initvals.
|
|
*/
|
|
*/
|