mac80211: move csa_chandef to sdata
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 11 Nov 2013 18:34:54 +0000 (20:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:51:58 +0000 (20:51 +0100)
commit33787fc4bea0347d78a211d1f38289b73d9ec1a6
treea1d5decf608084bafc92038af1811ed8eb4b927b
parentf63f8421d468575ae7bb62cfcf0398613c746975
mac80211: move csa_chandef to sdata

There is no reason why we should have only one channel switch
announcement at a time for a single phy.  When support for channel
switch with multiple contexts and multiple vifs per context is
implemented, we will need the chandef data for each vif.  Move the
csa_chandef structure to sdata to prepare for this.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
[Fixed compilation with mesh]
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mlme.c