]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/Makefile
WNM: Fix CONFIG_WNM use in Makefile
[thirdparty/hostap.git] / wpa_supplicant / Makefile
index c6c76ec8f58f167eacca9d68e853ded0bff98836..b5aaaae5b92ef36ba07f010c8731053e317ba25a 100644 (file)
@@ -738,10 +738,6 @@ ifdef CONFIG_IEEE80211N
 CFLAGS += -DCONFIG_IEEE80211N
 endif
 
-ifdef CONFIG_WNM
-CFLAGS += -DCONFIG_WNM
-endif
-
 ifdef NEED_AP_MLME
 OBJS += ../src/ap/wmm.o
 OBJS += ../src/ap/ap_list.o
@@ -762,6 +758,10 @@ OBJS += ../src/ap/hs20.o
 endif
 endif
 
+ifdef CONFIG_WNM
+CFLAGS += -DCONFIG_WNM
+endif
+
 ifdef NEED_RSN_AUTHENTICATOR
 CFLAGS += -DCONFIG_NO_RADIUS
 NEED_AES_WRAP=y