mac80211: fix the beacon csa counter for mesh and ibss
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Tue, 9 Jun 2015 05:35:33 +0000 (13:35 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 9 Jun 2015 20:04:25 +0000 (22:04 +0200)
commit8df734e865b74d9f273216482a45a38269dc767a
tree3666e36c18c3565b9474ce4f97e11e58176dd920
parentafd2efb91990667cd4d9171a743f8a89e19d5ef1
mac80211: fix the beacon csa counter for mesh and ibss

The csa counter has moved from sdata to beacon/presp but
it is not updated accordingly for mesh and ibss. Fix this.

Fixes: af296bdb8da4 ("mac80211: move csa counters from sdata to beacon/presp")
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/mesh.c