mirror of
https://github.com/Telecominfraproject/wlan-ucentral-schema.git
synced 2026-01-27 10:23:38 +00:00
OWE: reorder config sections to ensure that the vendor IE gets populated with the correct SSID
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -185,13 +185,6 @@
|
||||
let modes = (ssid.bss_mode == "wds-repeater") ?
|
||||
[ "wds-sta", "wds-ap" ] : [ ssid.bss_mode ];
|
||||
for (let mode in modes) {
|
||||
include('interface/ssid.uc', {
|
||||
location: location + '/ssids/' + i,
|
||||
ssid: { ...ssid, bss_mode: mode },
|
||||
count,
|
||||
name,
|
||||
network,
|
||||
});
|
||||
if (ssid?.encryption?.proto == 'owe-transition') {
|
||||
ssid.encryption.proto = 'none';
|
||||
include('interface/ssid.uc', {
|
||||
@@ -201,9 +194,17 @@
|
||||
name,
|
||||
network,
|
||||
owe: true,
|
||||
});
|
||||
|
||||
});
|
||||
ssid.encryption.proto = 'owe-transition';
|
||||
}
|
||||
|
||||
include('interface/ssid.uc', {
|
||||
location: location + '/ssids/' + i,
|
||||
ssid: { ...ssid, bss_mode: mode },
|
||||
count,
|
||||
name,
|
||||
network,
|
||||
});
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user