[openwrt/openwrt] hostapd: fix compile error in basic variant
LEDE Commits
lede-commits at lists.infradead.org
Wed Jan 28 03:50:43 PST 2026
nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b7be541dcf3723267a3bcbca767fe965904cda10
commit b7be541dcf3723267a3bcbca767fe965904cda10
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Jan 28 11:49:17 2026 +0000
hostapd: fix compile error in basic variant
Adding base64 encoded beacon data needs the base64 functions to be available
Fixes: b44d4290fe83 ("hostapd: add raw beacon report data to ubus notification")
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/network/services/hostapd/patches/601-ucode_support.patch | 3 ++-
.../patches/780-Implement-APuP-Access-Point-Micro-Peering.patch | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/network/services/hostapd/patches/601-ucode_support.patch b/package/network/services/hostapd/patches/601-ucode_support.patch
index 835e856ff6..74db671e4f 100644
--- a/package/network/services/hostapd/patches/601-ucode_support.patch
+++ b/package/network/services/hostapd/patches/601-ucode_support.patch
@@ -106,7 +106,7 @@ as adding/removing interfaces.
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
-@@ -169,9 +169,21 @@ OBJS += ../src/eapol_auth/eapol_auth_sm.
+@@ -169,9 +169,22 @@ OBJS += ../src/eapol_auth/eapol_auth_sm.
ifdef CONFIG_UBUS
CFLAGS += -DUBUS_SUPPORT
@@ -115,6 +115,7 @@ as adding/removing interfaces.
-LIBS += -lubox -lubus
+LIBS += -lubus
+NEED_ULOOP:=y
++NEED_BASE64=y
+endif
+
+ifdef CONFIG_UCODE
diff --git a/package/network/services/hostapd/patches/780-Implement-APuP-Access-Point-Micro-Peering.patch b/package/network/services/hostapd/patches/780-Implement-APuP-Access-Point-Micro-Peering.patch
index d0c2e67ccf..c1ac944957 100644
--- a/package/network/services/hostapd/patches/780-Implement-APuP-Access-Point-Micro-Peering.patch
+++ b/package/network/services/hostapd/patches/780-Implement-APuP-Access-Point-Micro-Peering.patch
@@ -39,7 +39,7 @@ Hotfix-by: Sebastian Gottschall https://github.com/mirror/dd-wrt/commit/0c3001a6
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
-@@ -1429,6 +1429,11 @@ ifdef CONFIG_NO_TKIP
+@@ -1430,6 +1430,11 @@ ifdef CONFIG_NO_TKIP
CFLAGS += -DCONFIG_NO_TKIP
endif
More information about the lede-commits
mailing list