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
1 changed files with 1 additions and 1 deletions
|
@ -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 &&
|
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 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue