qcacmn: Fix compiler error with WDI_EVENT_ENABLE disabled

Update function prototype of dp_ppdu_stats_ind_handler. It should be
same when WDI_EVENT_ENABLE is defined and not defined.

Change-Id: I390d35b3b9f5f283fc3b960f00563fb997ef7f95
CRs-Fixed: 2230955
This commit is contained in:
Kiran Venkatappa 2018-04-24 18:39:09 +05:30 • committed by nshrivas
commit d1a16871a3
2 changed files with 5 additions and 2 deletions

View file

@ -2663,7 +2663,7 @@ int htt_soc_attach_target(void *htt_soc)
* @msg_word: Pointer to payload
* @htt_t2h_msg: HTT msg nbuf
*
* Return: None
* Return: True if buffer should be freed by caller.
*/
static bool
dp_ppdu_stats_ind_handler(struct htt_soc *soc,
@ -2685,9 +2685,12 @@ dp_ppdu_stats_ind_handler(struct htt_soc *soc,
return free_buf;
}
#else
static bool
dp_ppdu_stats_ind_handler(struct htt_soc *soc,
uint32_t *msg_word,
qdf_nbuf_t htt_t2h_msg)
{
return true;
}
#endif

View file

@ -542,7 +542,7 @@ static inline int dp_set_pktlog_wifi3(struct dp_pdev *pdev, uint32_t event,
return 0;
}
static inline QDF_STATUS dp_h2t_cfg_stats_msg_send(struct dp_pdev *pdev,
uint32_t stats_type_upload_mask, uint8_t mac_id);
uint32_t stats_type_upload_mask, uint8_t mac_id)
{
return 0;
}