From 26c9d7ea24fcf52551692cc7baffc97596bb2fbf Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 21 Mar 2009 20:57:21 +0200 Subject: [PATCH] Fix IEEE 802.11r build without CONFIG_CLIENT_MLME --- wpa_supplicant/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 7ef119ff7..3dc144fb1 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -967,6 +967,7 @@ endif ifdef CONFIG_IEEE80211R CFLAGS += -DCONFIG_IEEE80211R OBJS += ../src/rsn_supp/wpa_ft.o +NEED_80211_COMMON=y endif ifndef CONFIG_NO_WPA @@ -1042,8 +1043,13 @@ CFLAGS += -DCONFIG_SME endif ifdef CONFIG_CLIENT_MLME -OBJS += mlme.o ../src/common/ieee802_11_common.o +OBJS += mlme.o CFLAGS += -DCONFIG_CLIENT_MLME +NEED_80211_COMMON=y +endif + +ifdef NEED_80211_COMMON +OBJS += ../src/common/ieee802_11_common.o endif ifndef CONFIG_MAIN