From 2437b102739aadd83a6d94c5cfb39c47d9f28fe1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 11 Mar 2011 19:24:27 +0000 Subject: [PATCH] mac80211: backport channel type fix from r26038 SVN-Revision: 26039 --- .../patches/581-mac80211_chantype_change_fix.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/mac80211/patches/581-mac80211_chantype_change_fix.patch 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; -- 2.30.2