From e55dedbf6ecbf2e42a8c90c77afbaa8bbabe3a4d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 25 Feb 2020 13:08:00 +0200 Subject: [PATCH] tests/fuzzing: Fix build after CONFIG_IEEE80211N=y removal Commit f3bcd6960346 ("Remove CONFIG_IEEE80211N build option") broke couple of fuzzing test tools due to missing wpa_scan_results_free(). Fix that by pulling in driver_common.o. Signed-off-by: Jouni Malinen --- tests/fuzzing/ap-mgmt/Makefile | 2 ++ tests/fuzzing/eapol-key-auth/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/fuzzing/ap-mgmt/Makefile b/tests/fuzzing/ap-mgmt/Makefile index af5fd4f4d..192ae723e 100644 --- a/tests/fuzzing/ap-mgmt/Makefile +++ b/tests/fuzzing/ap-mgmt/Makefile @@ -24,6 +24,8 @@ LIBS += $(SRC)/utils/libutils.a ELIBS += $(SRC)/crypto/libcrypto.a ELIBS += $(SRC)/tls/libtls.a +OBJS += $(SRC)/drivers/driver_common.o + ap-mgmt: ap-mgmt.o $(OBJS) $(LIBS) $(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS) diff --git a/tests/fuzzing/eapol-key-auth/Makefile b/tests/fuzzing/eapol-key-auth/Makefile index 4dca10264..bd2b27566 100644 --- a/tests/fuzzing/eapol-key-auth/Makefile +++ b/tests/fuzzing/eapol-key-auth/Makefile @@ -17,6 +17,8 @@ LIBS += $(SRC)/eap_server/libeap_server.a LIBS += $(SRC)/ap/libap.a LIBS += $(SRC)/radius/libradius.a +OBJS += $(SRC)/drivers/driver_common.o + eapol-key-auth: eapol-key-auth.o $(OBJS) $(LIBS) $(LDO) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LIBS) -Wl,--end-group