Search Linux Wireless

RE: [PATCH wireless v2] wifi: iwlwifi: restore missing initialization of async_handlers_list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Shalev, Itamar <itamar.shalev@xxxxxxxxx>
> Sent: Wednesday, 23 April 2025 12:25
> To: linux-wireless@xxxxxxxxxxxxxxx
> Cc: Korenblit, Miriam Rachel <miriam.rachel.korenblit@xxxxxxxxx>; Shalev,
> Itamar <itamar.shalev@xxxxxxxxx>
> 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")
> Signed-off-by: Itamar Shalev <itamar.shalev@xxxxxxxxx>
> ---
> Changes in v2:
> - Fix the fixes format.
> ---
>  drivers/net/wireless/intel/iwlwifi/mld/mld.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/wireless/intel/iwlwifi/mld/mld.c
> b/drivers/net/wireless/intel/iwlwifi/mld/mld.c
> index d4a99ae64074..4bff036aa3a4 100644
> --- a/drivers/net/wireless/intel/iwlwifi/mld/mld.c
> +++ b/drivers/net/wireless/intel/iwlwifi/mld/mld.c
> @@ -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
Acked-by: Miri Korenblit <miriam.rachel.korenblit@xxxxxxxxx>





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux