svn commit: r215831 - stable/8/sys/dev/if_ndis
Bernhard Schmidt
bschmidt at FreeBSD.org
Thu Nov 25 18:37:05 UTC 2010
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;
More information about the svn-src-stable-8
mailing list