aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-06-03 05:38:53 +0200
committerFelix Fietkau <nbd@nbd.name>2021-11-23 18:30:04 +0100
commit7b7b494d56fec408bc4d4b9564f0f1d3ca6b9c2a (patch)
tree5d4a16f9c0a6d9dce5e09169220dfe3f310165c7
parent8e3b3fa577789d0d5e829688db38665c11d44e5f (diff)
downloadupstream-7b7b494d56fec408bc4d4b9564f0f1d3ca6b9c2a.tar.gz
upstream-7b7b494d56fec408bc4d4b9564f0f1d3ca6b9c2a.tar.bz2
upstream-7b7b494d56fec408bc4d4b9564f0f1d3ca6b9c2a.zip
mac80211: fix typo
Remove stray parenthesis Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit 2cd1a108290f48fd35373f91056c05277c289687)
-rw-r--r--package/kernel/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
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)