wlan: Fix for build issue when BUILD_DEBUG_VERSION = 0.
This commit fixes compilation issue when BUILD_DEBUG_VERSION
set to 0
CRs-fixed: 502802
Change-Id: I78a38fe27db40a82bb11550aa12a1baa406d272b
diff --git a/Kbuild b/Kbuild
index 73d1972..efdda94 100644
--- a/Kbuild
+++ b/Kbuild
@@ -559,7 +559,9 @@
#normally, TDLS negative behavior is not needed
ifeq ($(CONFIG_QCOM_TDLS),y)
CDEFINES += -DFEATURE_WLAN_TDLS
+ifeq ($(BUILD_DEBUG_VERSION),1)
CDEFINES += -DWLAN_FEATURE_TDLS_DEBUG
+endif
CDEFINES += -DCONFIG_TDLS_IMPLICIT
#CDEFINES += -DFEATURE_WLAN_TDLS_NEGATIVE
#Code under FEATURE_WLAN_TDLS_INTERNAL is ported from volans, This code