mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
wifi-scripts: ucode: add start_disabled for AP mode
Enable it, whenever the AP needs to wait for a supplicant instance. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
80d73707b0
commit
d761f6a5a5
2 changed files with 3 additions and 1 deletions
|
|
@ -250,6 +250,7 @@ function setup() {
|
|||
break;
|
||||
// fallthrough
|
||||
case 'sta':
|
||||
data.ap_start_disabled = true;
|
||||
let config = supplicant.generate(supplicant_data, data, v);
|
||||
if (mode == "mesh")
|
||||
config_add_mesh_params(config, v.config);
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ function iface_setup(config) {
|
|||
'snoop_iface', 'vendor_elements', 'nas_identifier', 'radius_acct_interim_interval',
|
||||
'ocv', 'multicast_to_unicast', 'preamble', 'proxy_arp', 'per_sta_vif', 'mbo',
|
||||
'bss_transition', 'wnm_sleep_mode', 'wnm_sleep_mode_no_keys', 'qos_map_set', 'max_listen_int',
|
||||
'dtim_period', 'wmm_enabled',
|
||||
'dtim_period', 'wmm_enabled', 'start_disabled',
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
@ -434,6 +434,7 @@ export function generate(interface, data, config, vlans, stas, phy_features) {
|
|||
|
||||
iface_stations(config, stas);
|
||||
|
||||
config.start_disabled = data.ap_start_disabled;
|
||||
iface_setup(config);
|
||||
|
||||
iface.parse_encryption(config, data.config);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue