ssb: update ssb to version from linux-next-20110311
[openwrt/staging/dedeckeh.git] / package / mac80211 / patches / 581-mac80211_chantype_change_fix.patch
1 --- a/net/mac80211/chan.c
2 +++ b/net/mac80211/chan.c
3 @@ -77,6 +77,9 @@ bool ieee80211_set_channel_type(struct i
4 switch (tmp->vif.bss_conf.channel_type) {
5 case NL80211_CHAN_NO_HT:
6 case NL80211_CHAN_HT20:
7 + if (superchan > tmp->vif.bss_conf.channel_type)
8 + break;
9 +
10 superchan = tmp->vif.bss_conf.channel_type;
11 break;
12 case NL80211_CHAN_HT40PLUS: