diff --git a/dp/wifi3.0/dp_htt.c b/dp/wifi3.0/dp_htt.c index c2d583ea101d..939641413f8a 100644 --- a/dp/wifi3.0/dp_htt.c +++ b/dp/wifi3.0/dp_htt.c @@ -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 diff --git a/dp/wifi3.0/dp_internal.h b/dp/wifi3.0/dp_internal.h index 4b867075533f..53ffbb30cff6 100644 --- a/dp/wifi3.0/dp_internal.h +++ b/dp/wifi3.0/dp_internal.h @@ -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; }