|
@@ -114,13 +114,8 @@ static int iwlagn_load_section(struct iwl_priv *priv, const char *name,
|
|
|
FH_TCSR_TX_CONFIG_REG_VAL_CIRQ_HOST_ENDTFD);
|
|
|
|
|
|
IWL_DEBUG_FW(priv, "%s uCode section being loaded...\n", name);
|
|
|
- ret = wait_event_interruptible_timeout(priv->shrd->wait_command_queue,
|
|
|
- priv->ucode_write_complete, 5 * HZ);
|
|
|
- if (ret == -ERESTARTSYS) {
|
|
|
- IWL_ERR(priv, "Could not load the %s uCode section due "
|
|
|
- "to interrupt\n", name);
|
|
|
- return ret;
|
|
|
- }
|
|
|
+ ret = wait_event_timeout(priv->shrd->wait_command_queue,
|
|
|
+ priv->ucode_write_complete, 5 * HZ);
|
|
|
if (!ret) {
|
|
|
IWL_ERR(priv, "Could not load the %s uCode section\n",
|
|
|
name);
|