hostapd: fix typo in ssid variable for non-supplicant mesh interface bringup
authorFelix Fietkau <nbd@nbd.name>
Wed, 9 Aug 2023 08:51:46 +0000 (10:51 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 9 Aug 2023 08:51:46 +0000 (10:51 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/files/wdev.uc

index 896f5261fb978290eb00d4afb5390bdf2e32a3cb..5b321423eb2df2ea390e692c41f9efd6a8da2d92 100644 (file)
@@ -46,7 +46,7 @@ function iface_start(wdev)
                                push(cmd, key, wdev[key]);
                system(cmd);
        } else if (wdev.mode == "mesh") {
-               let cmd = [ "iw", "dev", ifname, "mesh", "join", 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" ])
                        if (wdev[key])
                                push(cmd, key, wdev[key]);