summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-10-20 16:41:33 +0200
committerJohannes Berg <johannes.berg@intel.com>2014-10-20 21:39:29 +0200
commit8fa74e3aa6398ffef3c52147c969c0f5f0a1244e (patch)
tree01b6138e17581a27d62e71a013bb85638abd9a7a /net/mac80211/cfg.c
parentmac80211: fix change flags variable signedness (diff)
parentmac80211: minstrels: fix buffer overflow in HT debugfs rc_stats (diff)
downloadlinux-8fa74e3aa6398ffef3c52147c969c0f5f0a1244e.tar.xz
linux-8fa74e3aa6398ffef3c52147c969c0f5f0a1244e.zip
Merge branch 'mac80211' into mac80211-next
This was needed to avoid conflicts in the minstrel changes. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index acebf2c5bb0c..64deb9aa0f81 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -3522,7 +3522,7 @@ static int ieee80211_cfg_get_channel(struct wiphy *wiphy,
rcu_read_lock();
chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf);
if (chanctx_conf) {
- *chandef = chanctx_conf->def;
+ *chandef = sdata->vif.bss_conf.chandef;
ret = 0;
} else if (local->open_count > 0 &&
local->open_count == local->monitors &&