We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 165ca3f commit ba2ae60Copy full SHA for ba2ae60
1 file changed
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc
@@ -231,7 +231,7 @@ function macaddr_random() {
231
let mac_idx = 0;
232
export function prepare(data, phy, num_global_macaddr, macaddr_base) {
233
if (!data.macaddr) {
234
- let pipe = fs.popen(`ucode /usr/share/hostap/wdev.uc ${phy} get_macaddr id=${mac_idx} num_global=${num_global_macaddr} mbssid=${data.mbssid ?? 0} macaddr_base=${macaddr_base}`);
+ let pipe = fs.popen(`ucode /usr/share/hostap/wdev.uc ${phy} get_macaddr id=${mac_idx} num_global=${num_global_macaddr} mbssid=${data.mbssid ?? 0} macaddr_base=${macaddr_base ?? ""}`);
235
236
data.macaddr = trim(pipe.read("all"), '\n');
237
pipe.close();
0 commit comments