mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-26 00:22:47 +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);
|
||||
} 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);
|
||||
|
Loading…
Reference in New Issue
Block a user