Skip to content

Commit

Permalink
iwlwifi: change debug message to error in failure case
Browse files Browse the repository at this point in the history
Since these messages indicate failure we would be interested in seeing them
always.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Reinette Chatre authored and John W. Linville committed Nov 11, 2009
1 parent f54a520 commit cf7ff8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/iwlwifi/iwl-hcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ int iwl_send_cmd_sync(struct iwl_priv *priv, struct iwl_host_cmd *cmd)
}

if (test_bit(STATUS_RF_KILL_HW, &priv->status)) {
IWL_DEBUG_INFO(priv, "Command %s aborted: RF KILL Switch\n",
IWL_ERR(priv, "Command %s aborted: RF KILL Switch\n",
get_cmd_string(cmd->id));
ret = -ECANCELED;
goto fail;
}
if (test_bit(STATUS_FW_ERROR, &priv->status)) {
IWL_DEBUG_INFO(priv, "Command %s failed: FW Error\n",
IWL_ERR(priv, "Command %s failed: FW Error\n",
get_cmd_string(cmd->id));
ret = -EIO;
goto fail;
Expand Down

0 comments on commit cf7ff8d

Please sign in to comment.