mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-27 09:02:33 +00:00
hostapd: fix bringing up mesh without supplicant when mcast rate is specified
The iw command expects a specific command line argument Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
09fd59938b
commit
a61fd0f0bb
@ -47,7 +47,7 @@ function iface_start(wdev)
|
|||||||
system(cmd);
|
system(cmd);
|
||||||
} else if (wdev.mode == "mesh") {
|
} else if (wdev.mode == "mesh") {
|
||||||
let cmd = [ "iw", "dev", ifname, "mesh", "join", wdev.ssid, "freq", wdev.freq, wdev.htmode ];
|
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])
|
if (wdev[key])
|
||||||
push(cmd, key, wdev[key]);
|
push(cmd, key, wdev[key]);
|
||||||
system(cmd);
|
system(cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user