diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2014-06-05 14:21:37 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-06-23 14:22:16 +0200 |
commit | 10d78f278214bd7c8a15d09ce2304728114786e7 (patch) | |
tree | 71c4a711f9cfe08f68c0e3ac3a454287577c5278 /net/mac80211/debugfs_sta.c | |
parent | mac80211: move csa counters from sdata to beacon/presp (diff) | |
download | linux-10d78f278214bd7c8a15d09ce2304728114786e7.tar.xz linux-10d78f278214bd7c8a15d09ce2304728114786e7.zip |
mac80211: use csa counter offsets instead of csa_active
vif->csa_active is protected by mutexes only. This
means it is unreliable to depend on it on codeflow
in non-sleepable beacon and CSA code. There was no
guarantee to have vif->csa_active update be
visible before beacons are updated on SMP systems.
Using csa counter offsets which are embedded in
beacon struct (and thus are protected with single
RCU assignment) is much safer.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
0 files changed, 0 insertions, 0 deletions