qcacmn: Fix compile issues when some features are disabled

Fix compile issues when some features are disabled, the features are:
BUILD_DEBUG_VERSION
CONFIG_CP_STATS
CONFIG_HOST_OPCLASS
CONFIG_FEATURE_ROAM_DEBUG
There are some other features depends on each other, so enabled features to
qcs40x.snoc.perf_defconfig, the features are:
CONFIG_WLAN_FEATURE_FILS
CONFIG_WMI_ROAM_SUPPORT
CONFIG_WMI_STA_SUPPORT
CONFIG_REG_CLIENT
CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH
CONFIG_WMI_CONCURRENCY_SUPPORT
CONFIG_LL_DP_SUPPORT

Change-Id: I6fa1eacb79576a955e593dbb9ac52083742275e3
CRs-Fixed: 2584839
This commit is contained in:
Hangtian Zhu
2019-12-12 10:47:03 +08:00
committed by nshrivas
parent 68930ca688
commit 7788a89ccd
7 changed files with 109 additions and 11 deletions

View File

@@ -574,7 +574,7 @@ void qdf_trace_dump_all(void *p_mac, uint8_t code, uint8_t session,
static inline
QDF_STATUS qdf_trace_spin_lock_init(void)
{
return QDF_STATUS_E_INVAL;
return QDF_STATUS_SUCCESS;
}
#endif
#endif