diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c index 93d22c470e2f..62c00523b3bf 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c | |||
@@ -946,7 +946,7 @@ void iwl_tx_cmd_complete(struct iwl_trans *trans, struct iwl_rx_mem_buffer *rxb) | |||
946 | clear_bit(STATUS_HCMD_ACTIVE, &trans->shrd->status); | 946 | clear_bit(STATUS_HCMD_ACTIVE, &trans->shrd->status); |
947 | IWL_DEBUG_INFO(trans, "Clearing HCMD_ACTIVE for command %s\n", | 947 | IWL_DEBUG_INFO(trans, "Clearing HCMD_ACTIVE for command %s\n", |
948 | get_cmd_string(cmd->hdr.cmd)); | 948 | get_cmd_string(cmd->hdr.cmd)); |
949 | wake_up_interruptible(&trans->shrd->wait_command_queue); | 949 | wake_up(&trans->shrd->wait_command_queue); |
950 | } | 950 | } |
951 | 951 | ||
952 | meta->flags = 0; | 952 | meta->flags = 0; |
@@ -1032,7 +1032,7 @@ static int iwl_send_cmd_sync(struct iwl_trans *trans, struct iwl_host_cmd *cmd) | |||
1032 | return ret; | 1032 | return ret; |
1033 | } | 1033 | } |
1034 | 1034 | ||
1035 | ret = wait_event_interruptible_timeout(trans->shrd->wait_command_queue, | 1035 | ret = wait_event_timeout(trans->shrd->wait_command_queue, |
1036 | !test_bit(STATUS_HCMD_ACTIVE, &trans->shrd->status), | 1036 | !test_bit(STATUS_HCMD_ACTIVE, &trans->shrd->status), |
1037 | HOST_COMPLETE_TIMEOUT); | 1037 | HOST_COMPLETE_TIMEOUT); |
1038 | if (!ret) { | 1038 | if (!ret) { |