mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
mac80211: merge the upstream ht40 fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24033 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7ae3b77890
commit
77b7fb441c
@ -290,3 +290,16 @@
|
||||
mutex_unlock(®_mutex);
|
||||
|
||||
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…
x
Reference in New Issue
Block a user