path: root/net/mac80211/chan.c
diff options
authorJohn W. Linville <>2014-09-04 13:08:24 -0400
committerJohn W. Linville <>2014-09-04 13:08:24 -0400
commit190355cc06eb4b3e2d3f06a8f7ba5ea433d77998 (patch)
tree2c9694d607973f23691227d388bb861f573d37c6 /net/mac80211/chan.c
parentc66517165610b911e4c6d268f28d8c640832dbd1 (diff)
parent14b058bbce9279ee432f0944ca14df69f4a0d170 (diff)
Merge tag 'mac80211-for-john-2014-08-29' of git://
Johannes Berg <> says: "Here are a few fixes for mac80211. One has been discussed for a while and adds a terminating NUL-byte to the alpha2 sent to userspace, which shouldn't be necessary but since many places treat it as a string we couldn't move to just sending two bytes. In addition to that, we have two VLAN fixes from Felix, a mesh fix, a fix for the recently introduced RX aggregation offload, a revert for a broken patch (that luckily didn't really cause any harm) and a small fix for alignment in debugfs." Signed-off-by: John W. Linville <>
Diffstat (limited to 'net/mac80211/chan.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c
index 0375009ddc0d..399ad82c997f 100644
--- a/net/mac80211/chan.c
+++ b/net/mac80211/chan.c
@@ -541,6 +541,8 @@ static void ieee80211_recalc_chanctx_chantype(struct ieee80211_local *local,
if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf)
+ if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
+ continue;
if (!compat)
compat = &sdata->vif.bss_conf.chandef;