Re: [PATCH] wifi: nl80211: don't WARN on a missing self-managed regdom
From: François Roux
Date: Sun Oct 11 2026 - 03:51:24 EST
On Wed, 2026-10-07 at 16:55 +0200, Johannes Berg wrote:
> I'm not a fan of this, I think the drivers should have the regdom ready.
[...]
> Anyway I think we need to fix the bugs, not paper over them.
Fair enough, please drop this patch.
I've sent an ath12k fix that applies the boot-time regdomain before
ieee80211_register_hw():
https://lore.kernel.org/all/20261011074433.9187-1-franzelfranzel@xxxxxxxxx/
wiphy_register() holds the RTNL until wiphy_regulatory_register() has
applied it, and nl80211_get_reg_do() takes the RTNL too, so the window
is gone. On the Surface Pro 11 the warning no longer shows up over boots
and repeated driver unbind/bind, where it used to on every rebind.
Diederik, thanks a lot for testing. As Johannes said, your BE200 needs
the iwlwifi side fixed instead.
François