Android: Use CONFIG_WNM mode consistently
authorJouni Malinen <j@w1.fi>
Sun, 17 Mar 2013 18:13:46 +0000 (20:13 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Mar 2013 18:13:46 +0000 (20:13 +0200)
Replace CONFIG_IEEE80211V with CONFIG_WNM to get more consistent build
options for WNM-Sleep Mode operations. This is similar to the Makefile
change in commit ad3872a3720df13d8fc1a4345a5f0a8c3a204b4e.

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

hostapd/Android.mk
wpa_supplicant/Android.mk

index 4281ebd..934c238 100644 (file)
@@ -208,8 +208,8 @@ NEED_ECC=y
 NEED_DH_GROUPS=y
 endif
 
-ifdef CONFIG_IEEE80211V
-L_CFLAGS += -DCONFIG_IEEE80211V
+ifdef CONFIG_WNM
+CFLAGS += -DCONFIG_WNM
 OBJS += src/ap/wnm_ap.c
 endif
 
@@ -217,10 +217,6 @@ ifdef CONFIG_IEEE80211N
 L_CFLAGS += -DCONFIG_IEEE80211N
 endif
 
-ifdef CONFIG_WNM
-L_CFLAGS += -DCONFIG_WNM
-endif
-
 ifdef CONFIG_IEEE80211AC
 L_CFLAGS += -DCONFIG_IEEE80211AC
 endif
index bfb5d6a..2b4a7b3 100644 (file)
@@ -197,8 +197,8 @@ NEED_ECC=y
 NEED_DH_GROUPS=y
 endif
 
-ifdef CONFIG_IEEE80211V
-L_CFLAGS += -DCONFIG_IEEE80211V
+ifdef CONFIG_WNM
+CFLAGS += -DCONFIG_WNM
 OBJS += wnm_sta.c
 endif
 
@@ -769,10 +769,6 @@ 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