[PATCH] Fix: AP mode wpa_supplicant build

Masashi Honma honma at ictec.co.jp
Fri May 14 20:29:33 EDT 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