From: Felix Fietkau <nbd@nbd.name>
Date: Thu, 3 Jun 2021 03:38:53 +0000 (+0200)
Subject: mac80211: fix typo
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2cd1a108290f48fd35373f91056c05277c289687;p=openwrt%2Fstaging%2Fynezz.git

mac80211: fix typo

Remove stray parenthesis

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---

diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
index 02eabd0506..5eb7cc4c61 100644
--- 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 && band != "1:")) mode="VHT80"
+		if (vht && band != "1:") mode="VHT80"
 		if (he) mode="HE80"
 		if (he && band == "1:") mode="HE20"
                 sub("\\[", "", channel)