1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-12 06:26:47 +03:00
openwrt-xburst/package/mac80211/patches/581-mac80211_chantype_change_fix.patch
nbd fdb9acb4b9 mac80211: fix spurious channel type changes when vifs are created/deleted
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 19:23:38 +00:00

11 lines
283 B
Diff

--- a/net/mac80211/chan.c
+++ b/net/mac80211/chan.c
@@ -76,6 +76,7 @@ bool ieee80211_set_channel_type(struct i
switch (tmp->vif.bss_conf.channel_type) {
case NL80211_CHAN_NO_HT:
+ break;
case NL80211_CHAN_HT20:
superchan = tmp->vif.bss_conf.channel_type;
break;