From 4a4e0c636fa3e1feb4e2d7af77ff23b097d9d33a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 1 Aug 2023 13:43:07 +0200 Subject: [PATCH] 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 --- .../services/hostapd/patches/601-ucode_support.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.30.2