mac80211: fix typo
authorFelix Fietkau <nbd@nbd.name>
Thu, 3 Jun 2021 03:38:53 +0000 (05:38 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 23 Nov 2021 17:30:04 +0000 (18:30 +0100)
Remove stray parenthesis

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 2cd1a108290f48fd35373f91056c05277c289687)

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)