wifi: iwlwifi: restore missing initialization of async_handlers_list
authorItamar Shalev <itamar.shalev@intel.com>
Wed, 23 Apr 2025 09:25:02 +0000 (12:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 12:59:06 +0000 (14:59 +0200)
The initialization of async_handlers_list
was accidentally removed in a previous change.
This patch restores the missing initialization
to ensure proper handler registration.

Fixes: 6895d74c11d8 ("wifi: iwlwifi: mld: initialize regulatory early")
Signed-off-by: Itamar Shalev <itamar.shalev@intel.com>
Acked-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250423092503.35206-1-itamar.shalev@intel.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/mld.c

index 4a0842a46a8d4efb575452fba95c627142a2e2c7..73d2166a4c2570cbb118623807a50daf22febe4b 100644 (file)
@@ -75,6 +75,7 @@ void iwl_construct_mld(struct iwl_mld *mld, struct iwl_trans *trans,
 
        /* Setup async RX handling */
        spin_lock_init(&mld->async_handlers_lock);
+       INIT_LIST_HEAD(&mld->async_handlers_list);
        wiphy_work_init(&mld->async_handlers_wk,
                        iwl_mld_async_handlers_wk);