Date: Thu, 26 May 2011 09:22:59 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222303 - head/sys/dev/ath/ath_hal Message-ID: <201105260922.p4Q9MxnF052770@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu May 26 09:22:59 2011 New Revision: 222303 URL: http://svn.freebsd.org/changeset/base/222303 Log: Fix a bad merge from a previous commit. Modified: head/sys/dev/ath/ath_hal/ah_eeprom_9287.c Modified: head/sys/dev/ath/ath_hal/ah_eeprom_9287.c ============================================================================== --- head/sys/dev/ath/ath_hal/ah_eeprom_9287.c Thu May 26 09:16:09 2011 (r222302) +++ head/sys/dev/ath/ath_hal/ah_eeprom_9287.c Thu May 26 09:22:59 2011 (r222303) @@ -126,10 +126,12 @@ v9287EepromSet(struct ath_hal *ah, int p 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105260922.p4Q9MxnF052770>