Просмотр исходного кода

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 <[email protected]>
Felix Fietkau 2 недель назад
Родитель
Сommit
b7be541dcf

+ 2 - 1
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

+ 1 - 1
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