Browse Source

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 2 năm trước cách đây
mục cha
commit
0660a65062
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      dp/wifi3.0/dp_stats.c

+ 2 - 2
dp/wifi3.0/dp_stats.c

@@ -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]);
 	}