mac80211: fix typo
authorFelix Fietkau <nbd@nbd.name>
Thu, 3 Jun 2021 03:38:53 +0000 (05:38 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 3 Jun 2021 03:38:59 +0000 (05:38 +0200)
Remove stray parenthesis

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/files/lib/wifi/mac80211.sh

index 02eabd0506d4c54da16decadc8bf0985bf56166a..5eb7cc4c610771a0b822201e9d86703b0cac9b8f 100644 (file)
@@ -70,7 +70,7 @@ BEGIN {
         if (channel) {
                mode="NOHT"
                if (ht) mode="HT20"
-               if (vht && band != "1:")) mode="VHT80"
+               if (vht && band != "1:") mode="VHT80"
                if (he) mode="HE80"
                if (he && band == "1:") mode="HE20"
                 sub("\\[", "", channel)