qcacmn: Fix CE history compilation issue

alloc_mem_ce_debug_history() is currently stubbed out when
HIF_CONFIG_SLUB_DEBUG_ON is defined, leading to silent CE history
collection failure on MCL devices. Fix the #define to include the full
definition of this function when HIF_CONFIG_SLUB_DEBUG_ON is enabled.

Change-Id: I8cd4c81e21a3874d717e361751372912ce38d560
CRs-Fixed: 2299012
这个提交包含在:
Dustin Brown
2018-08-17 15:56:02 -07:00
提交者 nshrivas
父节点 37b649522c
当前提交 041b10a5f7

查看文件

@@ -1176,7 +1176,7 @@ void free_mem_ce_debug_hist_data(struct hif_softc *scn, uint32_t ce_id)
* Note: For MCL, #if defined (HIF_CONFIG_SLUB_DEBUG_ON) needs to be checked
* for defined here
*/
#if HIF_CE_DEBUG_DATA_BUF
#if defined(HIF_CONFIG_SLUB_DEBUG_ON) || HIF_CE_DEBUG_DATA_BUF
/**
* alloc_mem_ce_debug_history() - Allocate mem for the CE descriptors storing
* @scn: hif scn handle