diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 27af8b9cb..948efc2b5 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -979,6 +979,9 @@ static int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv) WPA_DRIVER_CAPA_ENC_WEP104 | WPA_DRIVER_CAPA_ENC_TKIP | WPA_DRIVER_CAPA_ENC_CCMP; + drv->capa.auth = WPA_DRIVER_AUTH_OPEN | + WPA_DRIVER_AUTH_SHARED | + WPA_DRIVER_AUTH_LEAP; drv->capa.max_scan_ssids = info.max_scan_ssids; if (info.ap_supported) diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c index 8586d4a79..5bc2efee0 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 "