From 8143e16401f20486ebba863c17f9ec4dd4f83fd9 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Thu, 26 May 2011 09:22:59 +0000 Subject: [PATCH] Fix a bad merge from a previous commit. --- sys/dev/ath/ath_hal/ah_eeprom_9287.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/dev/ath/ath_hal/ah_eeprom_9287.c b/sys/dev/ath/ath_hal/ah_eeprom_9287.c index f6de55b02365..40550939bb6a 100644 --- a/sys/dev/ath/ath_hal/ah_eeprom_9287.c +++ b/sys/dev/ath/ath_hal/ah_eeprom_9287.c @@ -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