Răsfoiți Sursa

wifi-scripts: fix wds client mode with MLO

Ensure that the 4addr flag is passed to phy.wdev_add.

Reported-by: Michael-cy Lee (李峻宇) <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 1 lună în urmă
părinte
comite
d619ff6872

+ 2 - 0
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) {