diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-06-02 07:42:40 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-11-23 18:30:04 +0100 |
commit | 4edda0c544d1eab75bebced27247fff69eacc8ba (patch) | |
tree | 93a1d36b7cba2252e1e59e8a5fcf3c3dcddbeccb /package/kernel | |
parent | 8133d59da9ee04a4917d648f1f65f20ad866bb00 (diff) | |
download | upstream-4edda0c544d1eab75bebced27247fff69eacc8ba.tar.gz upstream-4edda0c544d1eab75bebced27247fff69eacc8ba.tar.bz2 upstream-4edda0c544d1eab75bebced27247fff69eacc8ba.zip |
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@johnthomson.fastmail.com.au>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 3518b793a2f2293e7e9124b5beae7b09887c5e32)
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/mac80211/files/lib/wifi/mac80211.sh | 2 |
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 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 } |