mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
cfg80211: use same IR permissive rules for 6GHz band
The function cfg80211_ir_permissive_chan() is applicable for 6GHz band as well so make sure it is handled. Reviewed-by: Pieter-Paul Giesberts <[email protected]> Reviewed-by: Leon Zegers <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
parent
e548a1c36b
commit
0816e6b117
1 changed files with 2 additions and 1 deletions
|
|
@ -894,7 +894,8 @@ static bool cfg80211_ir_permissive_chan(struct wiphy *wiphy,
|
|||
if (chan == other_chan)
|
||||
return true;
|
||||
|
||||
if (chan->band != NL80211_BAND_5GHZ)
|
||||
if (chan->band != NL80211_BAND_5GHZ &&
|
||||
chan->band != NL80211_BAND_6GHZ)
|
||||
continue;
|
||||
|
||||
r1 = cfg80211_get_unii(chan->center_freq);
|
||||
|
|
|
|||
Loading…
Reference in a new issue