From 7131fc814758931dbdc42884e7cd8c9ed8f6e2ee Mon Sep 17 00:00:00 2001 From: Aditya Sathish Date: Mon, 14 May 2018 15:28:07 +0530 Subject: [PATCH] qcacmn: Fix for TX Unicast Packet Count Statistic Fix for obtaining the correct value for the total unicast packets transmitted. Change-Id: I06071846f1dc3610cb8de1e73d7abcd869f2b172 CRs-Fixed: 2237301 --- dp/wifi3.0/dp_tx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index c7fbe794ce54..63b010891bcb 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -2542,12 +2542,11 @@ static void dp_tx_update_peer_stats(struct dp_peer *peer, if (peer->bss_peer) { DP_STATS_INC_PKT(peer, tx.mcast, 1, length); - DP_STATS_INC_PKT(peer, tx.tx_success, 1, length); } else { if (ts->status == HAL_TX_TQM_RR_FRAME_ACKED) { - DP_STATS_INC_PKT(peer, tx.ucast, 1, length); DP_STATS_INC_PKT(peer, tx.tx_success, 1, length); } + DP_STATS_INC_PKT(peer, tx.ucast, 1, length); } DP_STATS_INCC(peer, tx.dropped.age_out, 1,