Android: Fix CONFIG_WNM use in Android.mk
authorJouni Malinen <j@w1.fi>
Sun, 17 Mar 2013 18:10:44 +0000 (20:10 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Mar 2013 18:10:44 +0000 (20:10 +0200)
This code was within ifdef CONFIG_AP and did not get included unless
AP mode support was also enabled. This is similar to the Makefile
change in commit 2dfb9a447c7b71e03d4f4a318b4f8d67244d57d1.

Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/Android.mk

index 274519b..bfb5d6a 100644 (file)
@@ -749,10 +749,6 @@ ifdef CONFIG_IEEE80211N
 L_CFLAGS += -DCONFIG_IEEE80211N
 endif
 
-ifdef CONFIG_WNM
-L_CFLAGS += -DCONFIG_WNM
-endif
-
 ifdef NEED_AP_MLME
 OBJS += src/ap/wmm.c
 OBJS += src/ap/ap_list.c
@@ -773,6 +769,10 @@ OBJS += src/ap/hs20.c
 endif
 endif
 
+ifdef CONFIG_WNM
+L_CFLAGS += -DCONFIG_WNM
+endif
+
 ifdef NEED_RSN_AUTHENTICATOR
 L_CFLAGS += -DCONFIG_NO_RADIUS
 NEED_AES_WRAP=y