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>
This commit is contained in:
Felix Fietkau 2025-11-12 16:16:45 +00:00
parent 8d679ff5dd
commit d619ff6872

View File

@ -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) {