From: Felix Fietkau Date: Fri, 11 Mar 2011 19:23:38 +0000 (+0000) Subject: mac80211: fix spurious channel type changes when vifs are created/deleted X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=b3ddcb3d788e1442310ea8b914e8bac8d09e41de mac80211: fix spurious channel type changes when vifs are created/deleted SVN-Revision: 26038 --- diff --git a/package/mac80211/patches/581-mac80211_chantype_change_fix.patch b/package/mac80211/patches/581-mac80211_chantype_change_fix.patch new file mode 100644 index 0000000000..87e277298a --- /dev/null +++ b/package/mac80211/patches/581-mac80211_chantype_change_fix.patch @@ -0,0 +1,10 @@ +--- 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;