From ce9283a401785095520d6ef608ad9a2367085a31 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 17 Mar 2013 20:13:46 +0200 Subject: [PATCH] Android: Use CONFIG_WNM mode consistently 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 --- hostapd/Android.mk | 8 ++------ wpa_supplicant/Android.mk | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 4281ebd..934c238 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -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 diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index bfb5d6a..2b4a7b3 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -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 -- 2.1.4