mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-18 10:32:10 -05:00
wifi-scripts: ucode: enforce MFP for SAE connections
Avoids connection failures Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
b1ce49292c
commit
f26d134436
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user