From: Michal Kazior Date: Thu, 5 Jun 2014 12:21:36 +0000 (+0200) Subject: mac80211: move csa counters from sdata to beacon/presp X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~18^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af296bdb8da4d0a4284de10fc4a61497272ddf11;p=pandora-kernel.git mac80211: move csa counters from sdata to beacon/presp Having csa counters part of beacon and probe_resp structures makes it easier to get rid of possible races between setting a beacon and updating counters on SMP systems by guaranteeing counters are always consistent against given beacon struct. While at it relax WARN_ON into WARN_ON_ONCE to prevent spamming logs and racing. Signed-off-by: Michal Kazior [remove pointless array check] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed