|
|
@@ -86,17 +86,16 @@ function iface_auth_type(config) {
|
|
|
config.ieee80211w = 2;
|
|
|
config.sae_require_mfp = 1;
|
|
|
if (!config.ppsk)
|
|
|
- config.sae_pwe = 2;
|
|
|
+ set_default(config, 'sae_pwe', 2);
|
|
|
}
|
|
|
|
|
|
if (config.auth_type in [ 'psk-sae', 'eap-eap2' ]) {
|
|
|
- if (!config.ieee80211w)
|
|
|
- config.ieee80211w = 1;
|
|
|
+ set_default(config, 'ieee80211w', 1);
|
|
|
if (config.rsn_override)
|
|
|
config.rsn_override_mfp = 2;
|
|
|
config.sae_require_mfp = 1;
|
|
|
if (!config.ppsk)
|
|
|
- config.sae_pwe = 2;
|
|
|
+ set_default(config, 'sae_pwe', 2);
|
|
|
}
|
|
|
|
|
|
if (config.own_ip_addr)
|