Signed-off-by: Felix Fietkau <nbd@nbd.name>
let config = pending.config;
let phydev = pending.phydev;
let phy = pending.phy;
+ let bss = config.bss[0];
if (pending.defer)
pending.defer.abort();
pending.call("wpa_supplicant", "phy_set_macaddr_list", { phy: phy, macaddr: macaddr_list });
return "create_bss";
case "create_bss":
- let bss = config.bss[0];
let err = wdev_create(phy, bss.ifname, { mode: "ap" });
if (err) {
hostapd.printf(`Failed to create ${bss.ifname} on phy ${phy}: ${err}`);