mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-02 13:53:01 +02:00
By default, hostapd always recreate all bss interfaces, we create them in confd so we do not want this behaviour.
14 lines
515 B
Diff
14 lines
515 B
Diff
diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c
|
|
index 2406658da..4226a98ca 100644
|
|
--- a/src/ap/hostapd.c
|
|
+++ b/src/ap/hostapd.c
|
|
@@ -1508,7 +1496,7 @@ static int hostapd_setup_bss(struct hostapd_data *hapd, int first,
|
|
conf->iface, addr, hapd,
|
|
&hapd->drv_priv, force_ifname, if_addr,
|
|
conf->bridge[0] ? conf->bridge : NULL,
|
|
- first == -1)) {
|
|
+ 1)) {
|
|
wpa_printf(MSG_ERROR, "Failed to add BSS (BSSID="
|
|
MACSTR ")", MAC2STR(hapd->own_addr));
|
|
hapd->interface_added = 0;
|