diff options
author | wpaul <wpaul@FreeBSD.org> | 2004-01-29 03:16:58 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2004-01-29 03:16:58 +0000 |
commit | 547b42ac2ed98223e223fbfff9b2a3138043fed1 (patch) | |
tree | f2c01982e8161bff448d9a02b005358c32792506 | |
parent | 0de77ec260b24f32964944c0b36ec1893f3ff591 (diff) | |
download | FreeBSD-src-547b42ac2ed98223e223fbfff9b2a3138043fed1.zip FreeBSD-src-547b42ac2ed98223e223fbfff9b2a3138043fed1.tar.gz |
Go back to using AUTHMODE_AUTO if WEP is on. In some cases, the Centrino
won't associate in BSS mode if you use AUTHMODE_SHARED. I probably don't
understand enough to know when SHARED should be used vs. OPEN or WPA.
For now, go back to what works.
-rw-r--r-- | sys/dev/if_ndis/if_ndis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c index ae2397e..a40a208 100644 --- a/sys/dev/if_ndis/if_ndis.c +++ b/sys/dev/if_ndis/if_ndis.c @@ -1669,7 +1669,7 @@ ndis_setstate_80211(sc) ic->ic_wep_mode = IEEE80211_WEP_8021X; } #endif - arg = NDIS_80211_AUTHMODE_SHARED; + arg = NDIS_80211_AUTHMODE_AUTO; } else { arg = NDIS_80211_WEPSTAT_DISABLED; len = sizeof(arg); @@ -1680,8 +1680,10 @@ ndis_setstate_80211(sc) len = sizeof(arg); rval = ndis_set_info(sc, OID_802_11_AUTHENTICATION_MODE, &arg, &len); +#ifdef notyet if (rval) device_printf (sc->ndis_dev, "set auth failed: %d\n", rval); +#endif /* Set SSID. */ |