Fix: AP mode wpa_supplicant build
authorMasashi Honma <honma@ictec.co.jp>
Sun, 23 May 2010 09:12:40 +0000 (12:12 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 23 May 2010 09:12:40 +0000 (12:12 +0300)
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

index 56e5143..bdfa303 100644 (file)
@@ -582,6 +582,7 @@ endif
 endif
 
 ifdef CONFIG_AP
+NEED_80211_COMMON=y
 NEED_RSN_AUTHENTICATOR=y
 CFLAGS += -DCONFIG_AP
 OBJS += ap.o