mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-20 02:53:03 -05:00
Re-enable use of wildcard SSID with passphrase
This used to work, but it looks like the disabled-PSK-network check ended up rejecting confiurations that configured a wildcard SSID with a passphrase (instead of PSK). Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
d65a90d723
commit
759ff2f075
@ -4382,7 +4382,7 @@ int wpas_network_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
|
||||
}
|
||||
|
||||
if (wpa_key_mgmt_wpa_psk(ssid->key_mgmt) && !ssid->psk_set &&
|
||||
!ssid->ext_psk)
|
||||
(!ssid->passphrase || ssid->ssid_len != 0) && !ssid->ext_psk)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user