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