mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
ebb5e8667e
commit
eaf0a8e1aa
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue