Skip to content

Commit 9215879

Browse files
Miriam-Racheljmberg-intel
authored andcommitted
wifi: iwlwifi: mvm: don't initialize csa_work twice
The initialization of this worker moved to iwl_mvm_mac_init_mvmvif but we removed only from the pre-MLD version of the add_interface callback. Remove it also from the MLD version. Fixes: 0bcc215 ("wifi: iwlwifi: mvm: init vif works only once") Signed-off-by: Miri Korenblit <[email protected]> Reviewed-by: Johannes Berg <[email protected]> Link: https://msgid.link/20240512152312.4f15b41604f0.Iec912158e5a706175531d3736d77d25adf02fba4@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 8ecc4d7 commit 9215879

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ static int iwl_mvm_mld_mac_add_interface(struct ieee80211_hw *hw,
7575
goto out_free_bf;
7676

7777
iwl_mvm_tcm_add_vif(mvm, vif);
78-
INIT_DELAYED_WORK(&mvmvif->csa_work,
79-
iwl_mvm_channel_switch_disconnect_wk);
8078

8179
if (vif->type == NL80211_IFTYPE_MONITOR) {
8280
mvm->monitor_on = true;

0 commit comments

Comments
 (0)