Skip to content
Commit 0328edc7 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: fix packet statistics for fast-RX



When adding per-CPU statistics, which added statistics back
to mac80211 for the fast-RX path, I evidently forgot to add
the "stats->packets++" line. The reason for that is likely
that I didn't see it since it's done in defragmentation for
the regular RX path.

Add the missing line to properly count received packets in
the fast-RX case.

Fixes: c9c5962b ("mac80211: enable collecting station statistics per-CPU")
Reported-by: default avatarOren Givon <oren.givon@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 51fb60eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment