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.
This commit is contained in:
parent
f65a5b7598
commit
291b60682a
2 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue