Skip to content

Commit 62524a5

Browse files
Arend van Sprieljmberg-intel
authored andcommitted
cfg80211: apply same mandatory rate flags for 5GHz and 6GHz
For the new 6GHz band the same rules apply for mandatory rates so add it to set_mandatory_flags_band() function. Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com> Reviewed-by: Leon Zegers <leon.zegers@broadcom.com> Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Link: https://lore.kernel.org/r/1564745465-21234-9-git-send-email-arend.vanspriel@broadcom.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 5ea4e78 commit 62524a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎net/wireless/util.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ static void set_mandatory_flags_band(struct ieee80211_supported_band *sband)
156156

157157
switch (sband->band) {
158158
case NL80211_BAND_5GHZ:
159+
case NL80211_BAND_6GHZ:
159160
want = 3;
160161
for (i = 0; i < sband->n_bitrates; i++) {
161162
if (sband->bitrates[i].bitrate == 60 ||

0 commit comments

Comments
 (0)