mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 14:48:06 +00:00
iwlwifi: mvm: clear TE data if CSA time event fails to start
If setting the CSA time event fails, we must clear the TE data, otherwise we'll try to remove it when, for instance, a disconnection occurs, causing a SYSASSERT. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
c6e0a3e044
commit
0c6505c6ed
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ iwl_mvm_te_handle_notify_csa(struct iwl_mvm *mvm,
|
||||||
{
|
{
|
||||||
if (!le32_to_cpu(notif->status)) {
|
if (!le32_to_cpu(notif->status)) {
|
||||||
IWL_DEBUG_TE(mvm, "CSA time event failed to start\n");
|
IWL_DEBUG_TE(mvm, "CSA time event failed to start\n");
|
||||||
|
iwl_mvm_te_clear_data(mvm, te_data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue