qcacmn: Fix compilation issue after enabled CONFIG_WDI_EVENT_ENABLE

This change fixed compilation issue when enabled two configures -
CONFIG_WDI_EVENT_ENABLE and CONFIG_REMOVE_PKT_LOG.

Change-Id: I121ea61bd3681b834a36c0bc8017b855897023a4
CRs-Fixed: 3223552
This commit is contained in:
Wu Gao
2022-06-18 14:31:19 +08:00
committed by Madan Koyyalamudi
parent 4b31289715
commit cd9a1b63a3
2 changed files with 3 additions and 2 deletions

View File

@@ -4798,7 +4798,7 @@ static bool dp_txrx_ppdu_stats_handler(struct dp_soc *soc,
return free_buf; return free_buf;
} }
#else #elif (!defined(REMOVE_PKT_LOG))
static bool dp_txrx_ppdu_stats_handler(struct dp_soc *soc, static bool dp_txrx_ppdu_stats_handler(struct dp_soc *soc,
uint8_t pdev_id, qdf_nbuf_t htt_t2h_msg) uint8_t pdev_id, qdf_nbuf_t htt_t2h_msg)
{ {

View File

@@ -1190,7 +1190,8 @@ dp_cpu_ring_map[DP_NSS_CPU_RING_MAP_MAX][WLAN_CFG_INT_NUM_CONTEXTS_MAX];
int int
dp_htt_get_ppdu_sniffer_ampdu_tlv_bitmap(uint32_t bitmap); dp_htt_get_ppdu_sniffer_ampdu_tlv_bitmap(uint32_t bitmap);
#ifdef WDI_EVENT_ENABLE #if (defined(DP_CON_MON) || defined(WDI_EVENT_ENABLE)) &&\
(!defined(REMOVE_PKT_LOG))
void dp_pkt_log_init(struct cdp_soc_t *soc_hdl, uint8_t pdev_id, void *scn); void dp_pkt_log_init(struct cdp_soc_t *soc_hdl, uint8_t pdev_id, void *scn);
#else #else
static inline void static inline void