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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
533fc12e2f
commit
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]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user