svn commit: r185906 - head/sys/dev/ath/ath_hal

Sam Leffler sam at FreeBSD.org
Wed Dec 10 20:03:14 PST 2008


Author: sam
Date: Thu Dec 11 04:03:13 2008
New Revision: 185906
URL: http://svn.freebsd.org/changeset/base/185906

Log:
  add missing break
  
  Coverity ID:	4151

Modified:
  head/sys/dev/ath/ath_hal/ah_eeprom_v14.c   (contents, props changed)

Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v14.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah_eeprom_v14.c	Thu Dec 11 02:47:41 2008	(r185905)
+++ head/sys/dev/ath/ath_hal/ah_eeprom_v14.c	Thu Dec 11 04:03:13 2008	(r185906)
@@ -14,7 +14,7 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
- * $Id: ah_eeprom_v14.c,v 1.4 2008/11/10 19:04:26 sam Exp $
+ * $FreeBSD$
  */
 #include "opt_ah.h"
 
@@ -54,6 +54,7 @@ v14EepromGet(struct ath_hal *ah, int par
 			    __func__, ath_hal_ether_sprintf(macaddr));
 			return HAL_EEBADMAC;
 		}
+		return HAL_OK;
         case AR_EEP_REGDMN_0:
 		return pBase->regDmn[0];
         case AR_EEP_REGDMN_1:


More information about the svn-src-head mailing list