diff options
author | adrian <adrian@FreeBSD.org> | 2011-08-03 06:51:14 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-08-03 06:51:14 +0000 |
commit | 09d3eb129e888c8708ab6df459f85687b7db9c32 (patch) | |
tree | a9c319304b403b647452976b669a8e9171495634 /sys/dev/ath/ath_hal/ah_eeprom_v4k.c | |
parent | 96a3bbaa0704528a7a819c6e714c20b5c9b60f95 (diff) | |
download | FreeBSD-src-09d3eb129e888c8708ab6df459f85687b7db9c32.zip FreeBSD-src-09d3eb129e888c8708ab6df459f85687b7db9c32.tar.gz |
Remove the EEPROM minor >= 19 check for txgaintype; that's only needed for
Merlin / v14 eeprom formats.
Approved by: re (kib, blanket)
Diffstat (limited to 'sys/dev/ath/ath_hal/ah_eeprom_v4k.c')
-rw-r--r-- | sys/dev/ath/ath_hal/ah_eeprom_v4k.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ah_eeprom_v4k.c b/sys/dev/ath/ath_hal/ah_eeprom_v4k.c index 348ab60..927f08e 100644 --- a/sys/dev/ath/ath_hal/ah_eeprom_v4k.c +++ b/sys/dev/ath/ath_hal/ah_eeprom_v4k.c @@ -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; |