qcacmn: update tx rate stats only for transmitted packet
Fix issue, update tx rate stats only for transmitted packet Change-Id: Ice13c99bf82380d56759eb180e774ffab21b66b0
This commit is contained in:
@@ -191,6 +191,9 @@ dp_tx_rate_stats_update(struct dp_peer *peer,
|
||||
if (!peer || !ppdu)
|
||||
return;
|
||||
|
||||
if (ppdu->completion_status != HTT_PPDU_STATS_USER_STATUS_OK)
|
||||
return;
|
||||
|
||||
ratekbps = dp_getrateindex(ppdu->gi,
|
||||
ppdu->mcs,
|
||||
ppdu->nss,
|
||||
|
Reference in New Issue
Block a user