svn commit: r185907 - head/sys/dev/ath/ath_hal/ar5212
Sam Leffler
sam at FreeBSD.org
Wed Dec 10 20:03:51 PST 2008
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 */
More information about the svn-src-head
mailing list