diff options
| author | Felix Fietkau | 2025-11-12 16:16:45 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2025-11-13 11:56:39 +0000 |
| commit | d619ff6872e1da5439f8298e68c27dbe7cd1e517 (patch) | |
| tree | cdaff291d4d1d9ad3607b0f97eb0bf0ec1cc802d | |
| parent | 8d679ff5ddc4875e18f3f03790efc1fe5bde71f3 (diff) | |
| download | openwrt-d619ff6872e1da5439f8298e68c27dbe7cd1e517.tar.gz | |
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@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | package/network/config/wifi-scripts/files/lib/netifd/wireless.uc | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |