mac80211: fix spurious channel type changes when vifs are created/deleted
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 581-mac80211_chantype_change_fix.patch
1 --- a/net/mac80211/chan.c
2 +++ b/net/mac80211/chan.c
3 @@ -76,6 +76,7 @@ bool ieee80211_set_channel_type(struct i
4
5 switch (tmp->vif.bss_conf.channel_type) {
6 case NL80211_CHAN_NO_HT:
7 + break;
8 case NL80211_CHAN_HT20:
9 superchan = tmp->vif.bss_conf.channel_type;
10 break;