summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-11 19:23:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-11 19:23:38 +0000
commitfdb9acb4b967831ced46cbfd8f01f7a251d49dbd (patch)
tree16903a6bbd7432e0c9ec6e8236a5911540aacaef /package/mac80211/patches
parentfae87953ac4b22aa2763e3a831d36a199b882ae2 (diff)
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
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/581-mac80211_chantype_change_fix.patch10
1 files changed, 10 insertions, 0 deletions
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 000000000..87e277298
--- /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;