From 9d43b9d7a4a0080ce59da87b41321719947ffbaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Fri, 9 Jan 2026 23:43:20 +0100 Subject: [PATCH] hostapd: Do not recreate bss-interfaces By default, hostapd always recreate all bss interfaces, we create them in confd so we do not want this behaviour. --- .../hostapd/0002-do-not-recreate-interfaces.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/hostapd/0002-do-not-recreate-interfaces.patch diff --git a/patches/hostapd/0002-do-not-recreate-interfaces.patch b/patches/hostapd/0002-do-not-recreate-interfaces.patch new file mode 100644 index 00000000..0dfe9aa4 --- /dev/null +++ b/patches/hostapd/0002-do-not-recreate-interfaces.patch @@ -0,0 +1,13 @@ +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;