From: Felix Fietkau Date: Wed, 28 Jan 2026 11:49:17 +0000 (+0000) Subject: hostapd: fix compile error in basic variant X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7be541dcf3723267a3bcbca767fe965904cda10;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/package/network/services/hostapd/patches/601-ucode_support.patch b/package/network/services/hostapd/patches/601-ucode_support.patch index 835e856ff68..74db671e4f4 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 d0c2e67ccf8..c1ac9449573 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