Skip to contentSkip to conversation

wifi: iwlwifi: restore missing initialization of async_handlers_list

PATCH In review Itamar Shalev 2 participants 2 messages Apr 23, 2025 Intel wireless wifi link (iwlwifi)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 wifi: iwlwifi: restore missing initialization of async_handlers_list

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")

---
Changes in v2:
- Fix the fixes format.

---
 drivers/net/wireless/intel/iwlwifi/mld/mld.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/mld/mld.c +1 -0
index d4a99ae64074..4bff036aa3a4 100644
@@ -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);
 

--
2.34.1

---------------------------------------------------------------------
A member of the Intel Corporation group of companies

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

maintainer Acked-by on v2 1/1
#1 lore raw
Quoted 39 lines

-----Original Message-----
From: Shalev, Itamar <[email protected]>
Sent: Wednesday, 23 April 2025 12:25
To: [email protected]
Cc: Korenblit, Miriam Rachel <[email protected]>; Shalev, Itamar <[email protected]>
Subject: [PATCH wireless v2] wifi: iwlwifi: restore missing initialization of async_handlers_list

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")

---
Changes in v2:
- Fix the fixes format.

---
 drivers/net/wireless/intel/iwlwifi/mld/mld.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/mld/mld.c +1 -1
index d4a99ae64074..4bff036aa3a4 100644
@@ -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);
 
--
Quoted 1 line

2.34.1