提交 b8a86164 编写于 作者: S Sara Sharon 提交者: Luca Coelho

iwlwifi: mvm: don't check if CSA event is running before removing

We may want to remove it before it started (i.e. before the
actual switch time).
Signed-off-by: NSara Sharon <sara.sharon@intel.com>
Fixes: 58ddd9b6 ("iwlwifi: mvm: don't send a CSA command the firmware doesn't know")
Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210171218.835db8987b8a.Ic6c5d28d744302db1bc6c4314bd3138ba472f834@changeidSigned-off-by: NLuca Coelho <luciano.coelho@intel.com>
上级 e1900bce
......@@ -999,9 +999,6 @@ void iwl_mvm_remove_csa_period(struct iwl_mvm *mvm,
lockdep_assert_held(&mvm->mutex);
if (!te_data->running)
return;
spin_lock_bh(&mvm->time_event_lock);
id = te_data->id;
spin_unlock_bh(&mvm->time_event_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册