提交 a61fd0f0 编写于 作者: F Felix Fietkau

hostapd: fix bringing up mesh without supplicant when mcast rate is specified

The iw command expects a specific command line argument
Signed-off-by: NFelix Fietkau <nbd@nbd.name>
上级 09fd5993
......@@ -47,7 +47,7 @@ function iface_start(wdev)
system(cmd);
} else if (wdev.mode == "mesh") {
let cmd = [ "iw", "dev", ifname, "mesh", "join", wdev.ssid, "freq", wdev.freq, wdev.htmode ];
for (let key in [ "beacon-interval", "mcast-rate" ])
for (let key in [ "mcast-rate", "beacon-interval" ])
if (wdev[key])
push(cmd, key, wdev[key]);
system(cmd);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册