From 023913d070c592b84c080eff7b518a33c85e4c50 Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Sun, 16 Apr 2023 22:58:55 +0530 Subject: [PATCH] qcacld-3.0: Cleanup TDLS feature flag Cleanup TDLS concurrencies feature flag and move it to end of Kbuild file where cc_flags are defined. Change-Id: I26ffe1f339fc286be5d2f235c7b9fe7efa530e42 CRs-Fixed: 3468341 --- Kbuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Kbuild b/Kbuild index 5e6bce2691..c85b0714a3 100644 --- a/Kbuild +++ b/Kbuild @@ -1820,9 +1820,6 @@ TDLS_INC := -I$(WLAN_ROOT)/$(TDLS_DIR)/dispatcher/inc \ -I$(WLAN_ROOT)/$(TDLS_TARGET_IF_INC) ifeq ($(CONFIG_QCOM_TDLS), y) - -cppflags-y += -DWLAN_FEATURE_TDLS_CONCURRENCIES - TDLS_OBJS := $(TDLS_DIR)/core/src/wlan_tdls_main.o \ $(TDLS_DIR)/core/src/wlan_tdls_cmds_process.o \ $(TDLS_DIR)/core/src/wlan_tdls_peer.o \ @@ -3593,6 +3590,8 @@ endif #normally, TDLS negative behavior is not needed ccflags-$(CONFIG_QCOM_TDLS) += -DFEATURE_WLAN_TDLS +ccflags-$(CONFIG_QCOM_TDLS) += -DWLAN_FEATURE_TDLS_CONCURRENCIES + ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) ccflags-$(CONFIG_QCOM_TDLS) += -DTDLS_WOW_ENABLED endif