From: Felix Fietkau Date: Tue, 1 Aug 2023 11:43:07 +0000 (+0200) Subject: hostapd: fix mesh supplicant build error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4a4e0c636fa3e1feb4e2d7af77ff23b097d9d33a;p=openwrt%2Fstaging%2Fnbd.git hostapd: fix mesh supplicant build error Include AP ucode source file Fixes: e56c5f7b276a ("hostapd: add ucode support, use ucode for the main ubus object") 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 6cfc9b7d8d..ff1a9ddc0d 100644 --- a/package/network/services/hostapd/patches/601-ucode_support.patch +++ b/package/network/services/hostapd/patches/601-ucode_support.patch @@ -138,6 +138,16 @@ endif ifdef CONFIG_CODE_COVERAGE +@@ -999,6 +1011,9 @@ OBJS += ../src/ap/ctrl_iface_ap.o + ifdef CONFIG_UBUS + OBJS += ../src/ap/ubus.o + endif ++ifdef CONFIG_UCODE ++OBJS += ../src/ap/ucode.o ++endif + endif + + CFLAGS += -DEAP_SERVER -DEAP_SERVER_IDENTITY --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -7636,6 +7636,7 @@ struct wpa_supplicant * wpa_supplicant_a