diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-03-31 19:02:09 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-06 13:18:17 +0200 |
commit | 0f9c5a61d4b2330b12c59126aa5a9108dbfce555 (patch) | |
tree | 6d18031607d94831c71dba87fec4abfb990c6465 /net/mac80211/cfg.c | |
parent | mac80211: fix last RX rate data consistency (diff) | |
download | linux-0f9c5a61d4b2330b12c59126aa5a9108dbfce555.tar.xz linux-0f9c5a61d4b2330b12c59126aa5a9108dbfce555.zip |
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: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions