mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 03:05:32 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26041 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
367 B
Diff
13 lines
367 B
Diff
--- a/net/mac80211/chan.c
|
|
+++ b/net/mac80211/chan.c
|
|
@@ -77,6 +77,9 @@ bool ieee80211_set_channel_type(struct i
|
|
switch (tmp->vif.bss_conf.channel_type) {
|
|
case NL80211_CHAN_NO_HT:
|
|
case NL80211_CHAN_HT20:
|
|
+ if (superchan > tmp->vif.bss_conf.channel_type)
|
|
+ break;
|
|
+
|
|
superchan = tmp->vif.bss_conf.channel_type;
|
|
break;
|
|
case NL80211_CHAN_HT40PLUS:
|