diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c index 6d537f03c0baa0450eefc5c22f496be085072cfd..4206a11bf8d79c270a08da8351c8b04eda3c899e 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, continue; if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) continue; + if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) + continue; if (!compat) compat = &sdata->vif.bss_conf.chandef;