From 97fb02b65abb634bb64e2c303f03ec28d5338cdd Mon Sep 17 00:00:00 2001 From: Rakesh Pillai Date: Sun, 23 Aug 2020 21:38:53 +0530 Subject: [PATCH] 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 --- dp/wifi3.0/dp_stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dp/wifi3.0/dp_stats.c b/dp/wifi3.0/dp_stats.c index f55051fa7d8c..091175187f30 100644 --- a/dp/wifi3.0/dp_stats.c +++ b/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);