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
This commit is contained in:
Masashi Honma 2010-05-23 12:12:40 +03:00 committed by Jouni Malinen
parent 8401a6b028
commit 37a86b7b36

View file

@ -582,6 +582,7 @@ endif
endif
ifdef CONFIG_AP
NEED_80211_COMMON=y
NEED_RSN_AUTHENTICATOR=y
CFLAGS += -DCONFIG_AP
OBJS += ap.o