[PATCH] Fix: AP mode wpa_supplicant build

Masashi Honma honma
Fri May 14 17:29:33 PDT 2010


Hello.

The wpa_supplicant compilation with CONFIG_AP option and without
CONFIG_IEEE80211R, CONFIG_WPS, NEED_SME, CONFIG_CLIENT_MLME options
results in following messages.

../src/ap/drv_callbacks.o: In function `hostapd_notif_assoc':
../src/ap/drv_callbacks.c:59: undefined reference to
`ieee802_11_parse_elems'
gmake: *** [wpa_supplicant] Error 1

This patch solves this issue.

diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 56e5143..bdfa303 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -582,6 +582,7 @@ endif
endif

ifdef CONFIG_AP
+NEED_80211_COMMON=y
NEED_RSN_AUTHENTICATOR=y
CFLAGS += -DCONFIG_AP
OBJS += ap.o

Regards,
Masashi Honma.




More information about the Hostap mailing list