|
@@ -1413,16 +1413,16 @@ static void iwl_pcie_irq_handle_error(struct iwl_trans *trans)
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- /* The STATUS_FW_ERROR bit is set in this function. This must happen
|
|
|
- * before we wake up the command caller, to ensure a proper cleanup. */
|
|
|
- iwl_trans_fw_error(trans);
|
|
|
-
|
|
|
for (i = 0; i < trans->cfg->base_params->num_of_queues; i++) {
|
|
|
if (!trans_pcie->txq[i])
|
|
|
continue;
|
|
|
del_timer(&trans_pcie->txq[i]->stuck_timer);
|
|
|
}
|
|
|
|
|
|
+ /* The STATUS_FW_ERROR bit is set in this function. This must happen
|
|
|
+ * before we wake up the command caller, to ensure a proper cleanup. */
|
|
|
+ iwl_trans_fw_error(trans);
|
|
|
+
|
|
|
clear_bit(STATUS_SYNC_HCMD_ACTIVE, &trans->status);
|
|
|
wake_up(&trans_pcie->wait_command_queue);
|
|
|
}
|