qcacmn: Fix double increment of EAPOL drop stats

The stats to indicate the packet drop for EAPOL packets increments twice
in an instance. Fix this double incrementing of stats counter.

CRs-Fixed: 3365584
Change-Id: I524fa1a196452089c94acf50b52db0b00f562317
This commit is contained in:
Sreeramya Soratkal
2022-12-21 11:01:07 +05:30
committed by Madan Koyyalamudi
parent 6d1cdea120
commit bbfcdad485

View File

@@ -2422,7 +2422,6 @@ dp_tx_send_msdu_single(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
release_desc:
dp_tx_desc_release(tx_desc, tx_q->desc_pool_id);
tx_sw_drop_stats_inc(pdev, nbuf, drop_code);
fail_return:
dp_tx_get_tid(vdev, nbuf, msdu_info);