Browse Source

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
Pragaspathi Thilagaraj 1 year ago
parent
commit
023913d070
1 changed files with 2 additions and 3 deletions
  1. 2 3
      Kbuild

+ 2 - 3
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