Skip to content
Commit 0f9c5a61 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: fix RX u64 stats consistency on 32-bit platforms



On 32-bit platforms, the 64-bit counters we keep need to be protected
to be consistently read. Use the u64_stats_sync mechanism to do that.

In order to not end up with overly long lines, refactor the tidstats
assignments a bit.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 4f6b1b3d
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