From: Felix Fietkau Date: Wed, 2 Jun 2021 05:42:40 +0000 (+0200) Subject: mac80211: fix detecting VHT capabilities when generating the default config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4edda0c544d1eab75bebced27247fff69eacc8ba;p=openwrt%2Fstaging%2Frmilecki.git mac80211: fix detecting VHT capabilities when generating the default config The colon does not directly follow the "VHT Capabilities" string Reported-by: John Thomson Signed-off-by: Felix Fietkau (cherry-picked from commit 3518b793a2f2293e7e9124b5beae7b09887c5e32) --- diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index 0763da8fd81..f5d4f2e90a6 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 }