mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-18 12:54:39 +00:00
wifi-scripts: fix mesh/sta setup with ucode scripts
Ensure that the code doesn't pass macaddr_base with the wrong type (null) to the supplicant setup/start call. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
a2f0cd35ac
commit
b6c7d8a0d6
@ -221,7 +221,7 @@ export function setup(config, data) {
|
||||
config,
|
||||
defer: true,
|
||||
num_global_macaddr: data.config.num_global_macaddr,
|
||||
macaddr_base: data.config.macaddr_base,
|
||||
macaddr_base: data.config.macaddr_base ?? "",
|
||||
});
|
||||
|
||||
if (ret)
|
||||
@ -236,6 +236,6 @@ export function start(data) {
|
||||
phy: data.phy,
|
||||
radio: data.config.radio,
|
||||
num_global_macaddr: data.config.num_global_macaddr,
|
||||
macaddr_base: data.config.macaddr_base,
|
||||
macaddr_base: data.config.macaddr_base ?? "",
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user