[openwrt/openwrt] mac80211: fix typo

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 23 09:44:10 PST 2021


nbd pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/7b7b494d56fec408bc4d4b9564f0f1d3ca6b9c2a

commit 7b7b494d56fec408bc4d4b9564f0f1d3ca6b9c2a
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jun 3 05:38:53 2021 +0200

    mac80211: fix typo
    
    Remove stray parenthesis
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
    (cherry-picked from commit 2cd1a108290f48fd35373f91056c05277c289687)
---
 package/kernel/mac80211/files/lib/wifi/mac80211.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)



More information about the lede-commits mailing list