mac80211: do not enable VHT in the default config on 2.4 GHz

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>
Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
Felix Fietkau 2021-06-02 07:45:31 +02:00 committed by maurerr
parent 148a928e5a
commit 14a04dad6b

View File

@ -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)