aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_wext.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-01 19:41:19 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-01 19:41:19 (GMT)
commit291b60682a42a6a4bfde64044c4be3e34f58338a (patch)
treed3bc665fe7b6a15bcb24677124c4ade4b98b2617 /src/drivers/driver_wext.c
parentf65a5b7598f53849fc72bbeeb3f8c1be27976f4d (diff)
downloadhostap-291b60682a42a6a4bfde64044c4be3e34f58338a.zip
hostap-291b60682a42a6a4bfde64044c4be3e34f58338a.tar.gz
hostap-291b60682a42a6a4bfde64044c4be3e34f58338a.tar.bz2
nl80211/wext: Hardcode all auth_algs as supported
There does not seem to be a driver interface for fetching auth_algs capability, but this may be used by some external application, so hardcode all auth_algs as supported for now.
Diffstat (limited to 'src/drivers/driver_wext.c')
-rw-r--r--src/drivers/driver_wext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c
index 8586d4a..5bc2efe 100644
--- a/src/drivers/driver_wext.c
+++ b/src/drivers/driver_wext.c
@@ -1480,6 +1480,9 @@ static int wpa_driver_wext_get_range(void *priv)
drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP;
if (range->enc_capa & IW_ENC_CAPA_4WAY_HANDSHAKE)
drv->capa.flags |= WPA_DRIVER_FLAGS_4WAY_HANDSHAKE;
+ drv->capa.auth = WPA_DRIVER_AUTH_OPEN |
+ WPA_DRIVER_AUTH_SHARED |
+ WPA_DRIVER_AUTH_LEAP;
drv->capa.max_scan_ssids = 1;
wpa_printf(MSG_DEBUG, " capabilities: key_mgmt 0x%x enc 0x%x "