From ba3936d9901a88193413e65b9fa4d117f40c1077 Mon Sep 17 00:00:00 2001 From: Arik Nemtsov Date: Mon, 26 Sep 2011 13:55:22 +0300 Subject: [PATCH] TDLS: Support setting CONFIG_TDLS_TESTING in .config Signed-off-by: Arik Nemtsov Cc: Kalyan C Gaddam --- wpa_supplicant/Android.mk | 4 ++++ wpa_supplicant/Makefile | 4 ++++ 2 files changed, 8 insertions(+) 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