浏览代码

qcacld-3.0: Enable CNSS HW Disable feature based on config flag

Enable the feature CNSS HW Secure Disable only when
CONFIG_CNSS_HW_SECURE_DISABLE is enabled.

Change-Id: Ib0e01360f8ee9390290487c097c3d821f17485f8
CRs-Fixed: 3360826
Aditya Kodukula 2 年之前
父节点
当前提交
6e68981b63
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Kbuild

+ 3 - 1
Kbuild

@@ -4662,7 +4662,9 @@ cppflags-y += -DHW_TX_DELAY_STATS_ENABLE
 endif
 
 #Flags to enable/disable Dynamic WLAN interface control feature
-cppflags-$(CONFIG_CNSS_HW_SECURE_DISABLE) += -DFEATURE_CNSS_HW_SECURE_DISABLE
+ifeq ($(CONFIG_CNSS_HW_SECURE_DISABLE), y)
+cppflags-y += -DFEATURE_CNSS_HW_SECURE_DISABLE
+endif
 
 #DBAM feature needs COEX feature to be enabled
 ifeq ($(CONFIG_FEATURE_COEX), y)