From 60f9ec2b227e0523ed0c31584b0ff09762b78740 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 11 Dec 2024 14:42:47 +0100 Subject: [PATCH] wifi-scripts: ucode: change default behaviour of the vlan_no_bridge option Signed-off-by: John Crispin --- .../wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc index 8db3fc34b31..d6ca3b5dd26 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc @@ -285,8 +285,8 @@ function iface_vlan(interface, config, vlans) { if (!config.vlan_possible || !config.dynamic_vlan) return; - - config.vlan_no_bridge = !config.vlan_bridge; + + set_default(config, 'vlan_no_bridge', !config.vlan_bridge); append_vars(config, [ 'dynamic_vlan', 'vlan_naming', 'vlan_bridge', 'vlan_no_bridge',