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>
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)
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 ?? "",
});
};