[openwrt/openwrt] wifi-scripts: fix wds client mode with MLO

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 13 04:55:48 PST 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d619ff6872e1da5439f8298e68c27dbe7cd1e517

commit d619ff6872e1da5439f8298e68c27dbe7cd1e517
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Nov 12 16:16:45 2025 +0000

    wifi-scripts: fix wds client mode with MLO
    
    Ensure that the 4addr flag is passed to phy.wdev_add.
    
    Reported-by: Michael-cy Lee (李峻宇) <Michael-cy.Lee at mediatek.com>
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/config/wifi-scripts/files/lib/netifd/wireless.uc | 2 ++
 1 file changed, 2 insertions(+)

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 7c5913ac60..5be01aaa2a 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) {




More information about the lede-commits mailing list