diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index ab790e9cb..b8db59d4a 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -182,6 +182,10 @@ NEED_SHA256=y NEED_AES_OMAC1=y endif +ifdef CONFIG_TDLS_TESTING +L_CFLAGS += -DCONFIG_TDLS_TESTING +endif + ifdef CONFIG_PEERKEY L_CFLAGS += -DCONFIG_PEERKEY endif diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 8c3e9bb2c..d13e6e8a1 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -163,6 +163,10 @@ NEED_SHA256=y NEED_AES_OMAC1=y endif +ifdef CONFIG_TDLS_TESTING +CFLAGS += -DCONFIG_TDLS_TESTING +endif + ifdef CONFIG_PEERKEY CFLAGS += -DCONFIG_PEERKEY endif