From 37a86b7b36acec732b508c5b38fe0480082fbeb2 Mon Sep 17 00:00:00 2001 From: Masashi Honma Date: Sun, 23 May 2010 12:12:40 +0300 Subject: [PATCH] Fix: AP mode wpa_supplicant build 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 --- wpa_supplicant/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 56e514323..bdfa303c8 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