mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Fix Rx unicast issue at pdev stats level
As multicast is supreset for mcast and bcast, derive pdev unicast stats only from to_stack and multicast. Change-Id: I207e1e1d1950b52e0758aac539c79c1865192371 CRs-Fixed: 2323824
This commit is contained in:
parent
32fcc2a194
commit
9e96f02458
1 changed files with 2 additions and 4 deletions
|
|
@ -340,12 +340,10 @@ static inline void dp_update_pdev_stats(struct dp_pdev *tgtobj,
|
|||
|
||||
srcobj->rx.unicast.num =
|
||||
srcobj->rx.to_stack.num -
|
||||
(srcobj->rx.multicast.num +
|
||||
srcobj->rx.bcast.num);
|
||||
(srcobj->rx.multicast.num);
|
||||
srcobj->rx.unicast.bytes =
|
||||
srcobj->rx.to_stack.bytes -
|
||||
(srcobj->rx.multicast.bytes +
|
||||
srcobj->rx.bcast.bytes);
|
||||
(srcobj->rx.multicast.bytes);
|
||||
|
||||
tgtobj->stats.rx.unicast.num += srcobj->rx.unicast.num;
|
||||
tgtobj->stats.rx.unicast.bytes += srcobj->rx.unicast.bytes;
|
||||
|
|
|
|||
Loading…
Reference in a new issue