summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/581-mac80211_chantype_change_fix.patch
blob: 87e277298a7a875d9970a3cbe418bb4c1dba0210 (plain)
1
2
3
4
5
6
7
8
9
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;