aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-11 19:23:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-11 19:23:38 +0000
commit3efcd0a1fc2a6798d1fc49475960887c43627772 (patch)
treedfbfa5fd4eb1c0b68be898fca0c4065907fe6fed
parent616044386723a093b6f15b0ad5c3a509564c48df (diff)
downloadupstream-3efcd0a1fc2a6798d1fc49475960887c43627772.tar.gz
upstream-3efcd0a1fc2a6798d1fc49475960887c43627772.tar.bz2
upstream-3efcd0a1fc2a6798d1fc49475960887c43627772.zip
mac80211: fix spurious channel type changes when vifs are created/deleted
SVN-Revision: 26038
-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 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;