Remove the EEPROM minor >= 19 check for txgaintype; that's only needed for

Merlin / v14 eeprom formats.

Approved by:	re (kib, blanket)
This commit is contained in:
adrian 2011-08-03 06:51:14 +00:00
parent 96a3bbaa07
commit 09d3eb129e

View File

@ -75,8 +75,7 @@ v4kEepromGet(struct ath_hal *ah, int param, void *val)
case AR_EEP_RXGAIN_TYPE:
return AR5416_EEP_RXGAIN_ORIG;
case AR_EEP_TXGAIN_TYPE:
return IS_VERS(>=, AR5416_EEP_MINOR_VER_19) ?
pBase->txGainType : AR5416_EEP_TXGAIN_ORIG;
return pBase->txGainType;
case AR_EEP_OL_PWRCTRL:
HALASSERT(val == AH_NULL);
return HAL_EIO;