From ec84983f422700d63143bbb4933d2c413f94d6b0 Mon Sep 17 00:00:00 2001 From: chenguo Date: Wed, 11 Apr 2018 19:14:06 +0800 Subject: [PATCH] qcacmn: Correct BW statistics printing for txrx_stats commands BW statistics of TX is wrongly mapped as below: 80M counter ==> 20M counter Make below correction: 20M counter ==> 20M counter 80M counter ==> 80M counter CRs-Fixed: 2221744 Change-Id: Ic362e550b9f1a0a24d8ba646a885d04baea53d8d --- dp/wifi3.0/dp_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index c2e63dff6ab2..ca0124484b97 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -5460,8 +5460,8 @@ dp_print_tx_rates(struct dp_vdev *vdev) pdev->stats.tx.sgi_count[3]); DP_PRINT_STATS("BW Counts = 20MHZ %d, 40MHZ %d, 80MHZ %d, 160MHZ %d", - pdev->stats.tx.bw[2], pdev->stats.tx.bw[3], - pdev->stats.tx.bw[4], pdev->stats.tx.bw[5]); + pdev->stats.tx.bw[0], pdev->stats.tx.bw[1], + pdev->stats.tx.bw[2], pdev->stats.tx.bw[3]); DP_PRINT_STATS("OFDMA = %d", pdev->stats.tx.ofdma); DP_PRINT_STATS("STBC = %d", pdev->stats.tx.stbc);