From b070460b1a1848159e68f3714ffb56dc6d67eef9 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 Sep 2010 12:41:15 +0300 Subject: [PATCH] Fix hostapd build with CONFIG_IEEE80211N but without NEED_AP_MLME --- hostapd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hostapd/Makefile b/hostapd/Makefile index 3c7382d50..6d344d2a9 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -694,11 +694,11 @@ OBJS += ../src/ap/wmm.o OBJS += ../src/ap/ap_list.o OBJS += ../src/ap/ieee802_11.o OBJS += ../src/ap/hw_features.o +CFLAGS += -DNEED_AP_MLME +endif ifdef CONFIG_IEEE80211N OBJS += ../src/ap/ieee802_11_ht.o endif -CFLAGS += -DNEED_AP_MLME -endif ifdef CONFIG_NO_STDOUT_DEBUG CFLAGS += -DCONFIG_NO_STDOUT_DEBUG