summaryrefslogtreecommitdiffstats
path: root/sys/dev/if_ndis/if_ndis.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/if_ndis/if_ndis.c')
-rw-r--r--sys/dev/if_ndis/if_ndis.c4
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. */
OpenPOWER on IntegriCloud