Re: [PATCH 4.19] cfg80211: set custom regdomain after wiphy registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 27, 2022 at 06:17:59PM +0200, Johannes Berg wrote:
> On Fri, 2022-05-27 at 18:08 +0200, Greg KH wrote:
> > On Fri, May 27, 2022 at 11:11:51AM +0200, Johannes Berg wrote:
> > > From: Miri Korenblit <miriam.rachel.korenblit@xxxxxxxxx>
> > > 
> > > commit 1b7b3ac8ff3317cdcf07a1c413de9bdb68019c2b upstream.
> > > 
> > > We used to set regulatory info before the registration of
> > > the device and then the regulatory info didn't get set, because
> > > the device isn't registered so there isn't a device to set the
> > > regulatory info for. So set the regulatory info after the device
> > > registration.
> > > Call reg_process_self_managed_hints() once again after the device
> > > registration because it does nothing before it.
> > > 
> > > Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@xxxxxxxxx>
> > > Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx>
> > > Link: https://lore.kernel.org/r/iwlwifi.20210618133832.c96eadcffe80.I86799c2c866b5610b4cf91115c21d8ceb525c5aa@changeid
> > > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> > > ---
> > >  net/wireless/core.c | 7 ++++---
> > >  net/wireless/reg.c  | 1 +
> > >  2 files changed, 5 insertions(+), 3 deletions(-)
> > 
> > What about versions for 5.4.y and 5.10.y as well?  We can't just fix an
> > issue in an older kernel tree and ignore it in newer ones, right?
> > 
> 
> Huh, good point. I hadn't checked, people complained about it on 4.19.

All now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux