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@intel.com
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@intel.com Signed-off-by: Luca Coelho luciano.coelho@intel.com Link: https://lore.kernel.org/r/iwlwifi.20210618133832.c96eadcffe80.I86799c2c866b5... Signed-off-by: Johannes Berg johannes.berg@intel.com
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.
johannes