diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 4281ebde6..934c238ae 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 bfb5d6a9c..2b4a7b39a 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