aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-10-20 10:41:33 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-10-20 15:39:29 -0400
commit8fa74e3aa6398ffef3c52147c969c0f5f0a1244e (patch)
tree01b6138e17581a27d62e71a013bb85638abd9a7a /net/mac80211/cfg.c
parentb08cc24e0a24f8d67ba7d66dab43c40ed25a3f5c (diff)
parent11b2357d5dbce999803e9055f8c09829a8a87db4 (diff)
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,
3522 rcu_read_lock(); 3522 rcu_read_lock();
3523 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); 3523 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf);
3524 if (chanctx_conf) { 3524 if (chanctx_conf) {
3525 *chandef = chanctx_conf->def; 3525 *chandef = sdata->vif.bss_conf.chandef;
3526 ret = 0; 3526 ret = 0;
3527 } else if (local->open_count > 0 && 3527 } else if (local->open_count > 0 &&
3528 local->open_count == local->monitors && 3528 local->open_count == local->monitors &&