Browse Source

qcacmn: Fix the stale and invalid cookie logging

Currently the stale cookie and invalid cookie
counters are being logged inter-changeably.

Fix the logging for stale and invalid cookie counter.

Change-Id: I43346fe961ee750a3baa1bf8c2da2551fb06e973
CRs-Fixed: 2770877
Rakesh Pillai 4 năm trước cách đây
mục cha
commit
97fb02b65a
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

@@ -5969,9 +5969,9 @@ void dp_txrx_path_stats(struct dp_soc *soc)
 			       pdev->soc->stats.rx.err.defrag_peer_uninit);
 		DP_PRINT_STATS("pkts delivered no peer %u",
 			       pdev->soc->stats.rx.err.pkt_delivered_no_peer);
-		DP_PRINT_STATS("RX stale cookie: %d",
-			       soc->stats.rx.err.invalid_cookie);
 		DP_PRINT_STATS("RX invalid cookie: %d",
+			       soc->stats.rx.err.invalid_cookie);
+		DP_PRINT_STATS("RX stale cookie: %d",
 			       soc->stats.rx.err.stale_cookie);
 		DP_PRINT_STATS("2k jump delba sent: %u",
 			       pdev->soc->stats.rx.err.rx_2k_jump_delba_sent);