]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: ignore AP_VLAN in ieee80211_recalc_chanctx_chantype
authorFelix Fietkau <nbd@openwrt.org>
Fri, 25 Jul 2014 14:20:22 +0000 (16:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 26 Aug 2014 09:12:37 +0000 (11:12 +0200)
commit42bae50eceac750199fd643072f57f99087fd815
tree6cfdbeaf84fc57f8ca95c332835291ba767dbd61
parente8f2fff4f8d2a1f0cef68000f13516139d0079be
mac80211: ignore AP_VLAN in ieee80211_recalc_chanctx_chantype

When bringing down the AP, a WARN_ON is hit because the bss config chandef
is empty here.
Since AP_VLAN channel settings do not matter for anything chanctx related
(always inherits the settings from the AP interface), let's just ignore
it here.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c