From cd7ba71c7637e5eb45b48897706beb5f3a9c37b1 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sat, 11 Mar 2023 15:36:29 +0800 Subject: [PATCH] mac80211: refresh vht patch Signed-off-by: Tianling Shen (cherry picked from commit a58903115203f98dd89883294642b4cf27cc3906) --- .../patches/subsys/600-mac80211-allow-vht-on-2g.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/mac80211/patches/subsys/600-mac80211-allow-vht-on-2g.patch b/package/kernel/mac80211/patches/subsys/600-mac80211-allow-vht-on-2g.patch index 08aaa81d87..00b8de10d3 100644 --- a/package/kernel/mac80211/patches/subsys/600-mac80211-allow-vht-on-2g.patch +++ b/package/kernel/mac80211/patches/subsys/600-mac80211-allow-vht-on-2g.patch @@ -5,7 +5,7 @@ for (i = 0; i < sband->n_channels; i++) { if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED | - IEEE80211_CHAN_NO_80MHZ)) -+ IEEE80211_CHAN_NO_80MHZ) && ++ IEEE80211_CHAN_NO_80MHZ) & + (sband->band != NL80211_BAND_2GHZ)) continue; @@ -17,7 +17,7 @@ for (i = 0; i < sband->n_channels; i++) { if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED | - IEEE80211_CHAN_NO_80MHZ)) -+ IEEE80211_CHAN_NO_80MHZ) && ++ IEEE80211_CHAN_NO_80MHZ) & + (sband->band != NL80211_BAND_2GHZ)) continue; @@ -29,7 +29,7 @@ for (i = 0; i < sband->n_channels; i++) { if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED | - IEEE80211_CHAN_NO_80MHZ)) -+ IEEE80211_CHAN_NO_80MHZ) && ++ IEEE80211_CHAN_NO_80MHZ) & + (sband->band != NL80211_BAND_2GHZ)) continue;