From: Felix Fietkau Date: Wed, 12 Nov 2025 16:16:45 +0000 (+0000) Subject: wifi-scripts: fix wds client mode with MLO X-Git-Tag: v25.12.0-rc1~550 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d619ff6872e1da5439f8298e68c27dbe7cd1e517;p=thirdparty%2Fopenwrt.git wifi-scripts: fix wds client mode with MLO Ensure that the 4addr flag is passed to phy.wdev_add. Reported-by: Michael-cy Lee (李峻宇) Signed-off-by: Felix Fietkau --- diff --git a/package/network/config/wifi-scripts/files/lib/netifd/wireless.uc b/package/network/config/wifi-scripts/files/lib/netifd/wireless.uc index 7c5913ac602..5be01aaa2aa 100644 --- a/package/network/config/wifi-scripts/files/lib/netifd/wireless.uc +++ b/package/network/config/wifi-scripts/files/lib/netifd/wireless.uc @@ -151,6 +151,8 @@ function config_init(uci) if (mlo_vif && dev_name == dev_names[0]) { let mlo_config = { ...config }; + if (config.wds) + mlo_config['4addr'] = config.wds; mlo_config.radio_config = radio_config; ifname = config.ifname; if (!ifname) {