Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 04:03:51 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185907 - head/sys/dev/ath/ath_hal/ar5212
Message-ID:  <200812110403.mBB43p2N053584@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Thu Dec 11 04:03:50 2008
New Revision: 185907
URL: http://svn.freebsd.org/changeset/base/185907

Log:
  add missing break
  
  Coverity ID:	4159

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

Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c	Thu Dec 11 04:03:13 2008	(r185906)
+++ head/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c	Thu Dec 11 04:03:50 2008	(r185907)
@@ -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: ar5212_misc.c,v 1.12 2008/11/27 22:30:00 sam Exp $
+ * $FreeBSD$
  */
 #include "opt_ah.h"
 
@@ -803,6 +803,7 @@ ar5212GetCapability(struct ath_hal *ah, 
 			return (ahp->ah_staId1Defaults &
 			    AR_STA_ID1_CRPT_MIC_ENABLE) ?  HAL_OK : HAL_ENXIO;
 		}
+		return HAL_EINVAL;
 	case HAL_CAP_TKIP_SPLIT:	/* hardware TKIP uses split keys */
 		switch (capability) {
 		case 0:			/* hardware capability */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812110403.mBB43p2N053584>