1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

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 Chadd 2011-08-03 06:51:14 +00:00
parent 5ce36fdb77
commit 52227d94df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224624

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;