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