wifi-scripts: ucode: enforce MFP for SAE connections

Avoids connection failures

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-08-03 18:36:22 +02:00
parent b1ce49292c
commit f26d134436

View File

@ -56,9 +56,9 @@ function setup_sta(data, config) {
iface.parse_encryption(config);
if (config.auth_type in [ 'sae', 'owe', 'eap2', 'eap192' ])
set_default(config, 'ieee80211w', 2);
config.ieee80211w = 2;
else if (config.auth_type in [ 'psk-sae' ])
set_default(config, 'ieee80211w', 1);
config.ieee80211w = 1;
set_default(config, 'ieee80211r', 0);
set_default(config, 'multi_ap', 0);