[openwrt/openwrt] mac80211: fix detecting VHT capabilities when generating the default config

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


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

commit 4edda0c544d1eab75bebced27247fff69eacc8ba
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Jun 2 07:42:40 2021 +0200

    mac80211: fix detecting VHT capabilities when generating the default config
    
    The colon does not directly follow the "VHT Capabilities" string
    
    Reported-by: John Thomson <git at johnthomson.fastmail.com.au>
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
    (cherry-picked from commit 3518b793a2f2293e7e9124b5beae7b09887c5e32)
---
 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 0763da8fd8..f5d4f2e90a 100644
--- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
@@ -92,7 +92,7 @@ $0 ~ "Capabilities:" {
 	ht=1
 }
 
-$0 ~ "VHT Capabilities:" {
+$0 ~ "VHT Capabilities" {
 	vht=1
 }
 



More information about the lede-commits mailing list