mac80211: merge the upstream ht40 fix
SVN-Revision: 24033
This commit is contained in:
parent
a72af79590
commit
8442d62654
1 changed files with 13 additions and 0 deletions
|
@ -290,3 +290,16 @@
|
||||||
mutex_unlock(®_mutex);
|
mutex_unlock(®_mutex);
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
--- a/net/wireless/chan.c
|
||||||
|
+++ b/net/wireless/chan.c
|
||||||
|
@@ -54,8 +54,10 @@ static bool can_beacon_sec_chan(struct w
|
||||||
|
switch (channel_type) {
|
||||||
|
case NL80211_CHAN_HT40PLUS:
|
||||||
|
diff = 20;
|
||||||
|
+ break;
|
||||||
|
case NL80211_CHAN_HT40MINUS:
|
||||||
|
diff = -20;
|
||||||
|
+ break;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue