Fix a bad merge from a previous commit.

This commit is contained in:
Adrian Chadd 2011-05-26 09:22:59 +00:00
parent 0293774898
commit 8143e16401

View File

@ -126,10 +126,12 @@ v9287EepromSet(struct ath_hal *ah, int param, int v)
HAL_EEPROM_9287 *ee = AH_PRIVATE(ah)->ah_eeprom;
switch (param) {
case AR_EEP_ANTGAINMAX_2:
ee->ee_antennaGainMax[1] = (int8_t) v;
return HAL_OK;
return HAL_EINVAL;
case AR_EEP_ANTGAINMAX_2:
ee->ee_antennaGainMax[1] = (int8_t) v;
return HAL_OK;
default:
return HAL_EINVAL;
}
}
static HAL_BOOL