projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4edda0c
)
mac80211: do not enable VHT in the default config on 2.4 GHz
author
Felix Fietkau
<nbd@nbd.name>
Wed, 2 Jun 2021 05:45:31 +0000
(07:45 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 23 Nov 2021 17:30:04 +0000
(18:30 +0100)
Some drivers advertise it, but it's not supported at the moment
Reported-by: John Thomson <git@johnthomson.fastmail.com.au>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit
42a99b18ff23fa768a6ae5f1076f15cbfa494f24
)
package/kernel/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/kernel/mac80211/files/lib/wifi/mac80211.sh
b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
index f5d4f2e90a694d5e2d43b1d8d5fba61bebd39dee..02eabd0506d4c54da16decadc8bf0985bf56166a 100644
(file)
--- a/
package/kernel/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/kernel/mac80211/files/lib/wifi/mac80211.sh
@@
-70,7
+70,7
@@
BEGIN {
if (channel) {
mode="NOHT"
if (ht) mode="HT20"
- if (vht) mode="VHT80"
+ if (vht
&& band != "1:")
) mode="VHT80"
if (he) mode="HE80"
if (he && band == "1:") mode="HE20"
sub("\\[", "", channel)