Fix IEEE 802.11r build without CONFIG_CLIENT_MLME

This commit is contained in:
Jouni Malinen 2009-03-21 20:57:21 +02:00
parent 8104763131
commit 26c9d7ea24

View file

@ -967,6 +967,7 @@ endif
ifdef CONFIG_IEEE80211R ifdef CONFIG_IEEE80211R
CFLAGS += -DCONFIG_IEEE80211R CFLAGS += -DCONFIG_IEEE80211R
OBJS += ../src/rsn_supp/wpa_ft.o OBJS += ../src/rsn_supp/wpa_ft.o
NEED_80211_COMMON=y
endif endif
ifndef CONFIG_NO_WPA ifndef CONFIG_NO_WPA
@ -1042,8 +1043,13 @@ CFLAGS += -DCONFIG_SME
endif endif
ifdef CONFIG_CLIENT_MLME ifdef CONFIG_CLIENT_MLME
OBJS += mlme.o ../src/common/ieee802_11_common.o OBJS += mlme.o
CFLAGS += -DCONFIG_CLIENT_MLME CFLAGS += -DCONFIG_CLIENT_MLME
NEED_80211_COMMON=y
endif
ifdef NEED_80211_COMMON
OBJS += ../src/common/ieee802_11_common.o
endif endif
ifndef CONFIG_MAIN ifndef CONFIG_MAIN