]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mld: initialize regulatory early
authorJohannes Berg <johannes.berg@intel.com>
Sun, 9 Mar 2025 05:36:44 +0000 (07:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Mar 2025 15:29:24 +0000 (16:29 +0100)
commit6895d74c11d80c8c44cd14eade856c26a30902ad
tree0cfd9554aa090414c9738ef78489a0c8b4fd8e05
parent8d006c92132ed8bafc95feb314bcd3c5dd2e6bce
wifi: iwlwifi: mld: initialize regulatory early

Since iwlmld claims wiphys to be self-managed, it needs to
have a regdomain registered before the wiphy is registered
to avoid issues when trying to get the regdomain, e.g. via
"iw phy phy0 reg get".

Move the initialization early, on every FW start not just
when starting to really operate it. This also requires the
self-managed flag to be set early.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250309073442.10ab8fed94e9.I7c8dee3d14c7427a56882739f82546c6492f3b10@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/fw.c
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
drivers/net/wireless/intel/iwlwifi/mld/mld.c