Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2010 18:37:04 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r215831 - stable/8/sys/dev/if_ndis
Message-ID:  <201011251837.oAPIb5TO014018@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bschmidt
Date: Thu Nov 25 18:37:04 2010
New Revision: 215831
URL: http://svn.freebsd.org/changeset/base/215831

Log:
  MFC r213778:
  WPA_CSE_WEP104 was being incorrectly checked.
  
  Committed by:	rpaulo

Modified:
  stable/8/sys/dev/if_ndis/if_ndis.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/if_ndis/if_ndis.c
==============================================================================
--- stable/8/sys/dev/if_ndis/if_ndis.c	Thu Nov 25 18:36:44 2010	(r215830)
+++ stable/8/sys/dev/if_ndis/if_ndis.c	Thu Nov 25 18:37:04 2010	(r215831)
@@ -2111,7 +2111,7 @@ ndis_set_cipher(sc, cipher)
 
 	len = sizeof(arg);
 
-	if (cipher == WPA_CSE_WEP40 || WPA_CSE_WEP104) {
+	if (cipher == WPA_CSE_WEP40 || cipher == WPA_CSE_WEP104) {
 		if (!(ic->ic_cryptocaps & IEEE80211_CRYPTO_WEP))
 			return (ENOTSUP);
 		arg = NDIS_80211_WEPSTAT_ENC1ENABLED;



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