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
This commit is contained in:
Pragaspathi Thilagaraj
2023-04-16 22:58:55 +05:30
parent 127957dfdf
commit 023913d070

5
Kbuild
View File

@@ -1820,9 +1820,6 @@ TDLS_INC := -I$(WLAN_ROOT)/$(TDLS_DIR)/dispatcher/inc \
-I$(WLAN_ROOT)/$(TDLS_TARGET_IF_INC) -I$(WLAN_ROOT)/$(TDLS_TARGET_IF_INC)
ifeq ($(CONFIG_QCOM_TDLS), y) ifeq ($(CONFIG_QCOM_TDLS), y)
cppflags-y += -DWLAN_FEATURE_TDLS_CONCURRENCIES
TDLS_OBJS := $(TDLS_DIR)/core/src/wlan_tdls_main.o \ 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_cmds_process.o \
$(TDLS_DIR)/core/src/wlan_tdls_peer.o \ $(TDLS_DIR)/core/src/wlan_tdls_peer.o \
@@ -3593,6 +3590,8 @@ endif
#normally, TDLS negative behavior is not needed #normally, TDLS negative behavior is not needed
ccflags-$(CONFIG_QCOM_TDLS) += -DFEATURE_WLAN_TDLS ccflags-$(CONFIG_QCOM_TDLS) += -DFEATURE_WLAN_TDLS
ccflags-$(CONFIG_QCOM_TDLS) += -DWLAN_FEATURE_TDLS_CONCURRENCIES
ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM))) ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
ccflags-$(CONFIG_QCOM_TDLS) += -DTDLS_WOW_ENABLED ccflags-$(CONFIG_QCOM_TDLS) += -DTDLS_WOW_ENABLED
endif endif