]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests/fuzzing: Fix build after CONFIG_IEEE80211N=y removal
authorJouni Malinen <j@w1.fi>
Tue, 25 Feb 2020 11:08:00 +0000 (13:08 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Feb 2020 11:08:00 +0000 (13:08 +0200)
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 <j@w1.fi>
tests/fuzzing/ap-mgmt/Makefile
tests/fuzzing/eapol-key-auth/Makefile

index af5fd4f4d456bb6d4744f0b4d1045ba65f047b3d..192ae723e2d8c247f5af0f61827cb2162c1a0d92 100644 (file)
@@ -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)
 
index 4dca10264e728c3226fc5d03ad05aed79037aaa7..bd2b2756600f78d8fa7f2137bd35472ded8380e2 100644 (file)
@@ -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