mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-16 03:44:39 +00:00
mac80211: fix spurious channel type changes when vifs are created/deleted
SVN-Revision: 26038
This commit is contained in:
parent
6160443867
commit
3efcd0a1fc
@ -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;
|
Loading…
Reference in New Issue
Block a user