qcacmn: Add fix to display WDI event and stats count

On txrx_stats 260, wdi event stats are displayed with content as zero.
Which need to be displayed only on non zero value.

Change-Id: I5ad4595e35e977dd141584c92cdc164e153b7c0f
CRs-Fixed: 3454039
此提交包含在:
nobelj
2023-04-03 11:54:01 -07:00
提交者 Madan Koyyalamudi
父節點 533fc12e2f
當前提交 0660a65062

查看文件

@@ -7691,8 +7691,8 @@ dp_print_pdev_tx_stats(struct dp_pdev *pdev)
pdev->stats.ppdu_wrap_drop);
for (i = 0; i < CDP_WDI_NUM_EVENTS; i++) {
if (!pdev->stats.wdi_event[i])
DP_PRINT_STATS("Wdi msgs received from fw[%d]:%d",
if (pdev->stats.wdi_event[i])
DP_PRINT_STATS("Wdi msgs received for event ID[%d]:%d",
i, pdev->stats.wdi_event[i]);
}