aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2009-11-06 17:52:44 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-11 15:23:40 -0500
commitcf7ff8dfe64c8ca8a71b4fcbac357a3476ed1888 (patch)
treed50e1fe8a6c0da642a01e5a582a120a23d41784f /drivers/net
parentf54a52021d7ad039c16fe5a1e094d8f0394d90ec (diff)
iwlwifi: change debug message to error in failure case
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-hcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-hcmd.c
index 905645d15a9b..e8002c1d3eba 100644
--- a/drivers/net/wireless/iwlwifi/iwl-hcmd.c
+++ b/drivers/net/wireless/iwlwifi/iwl-hcmd.c
@@ -199,13 +199,13 @@ int iwl_send_cmd_sync(struct iwl_priv *priv, struct iwl_host_cmd *cmd)
199 } 199 }
200 200
201 if (test_bit(STATUS_RF_KILL_HW, &priv->status)) { 201 if (test_bit(STATUS_RF_KILL_HW, &priv->status)) {
202 IWL_DEBUG_INFO(priv, "Command %s aborted: RF KILL Switch\n", 202 IWL_ERR(priv, "Command %s aborted: RF KILL Switch\n",
203 get_cmd_string(cmd->id)); 203 get_cmd_string(cmd->id));
204 ret = -ECANCELED; 204 ret = -ECANCELED;
205 goto fail; 205 goto fail;
206 } 206 }
207 if (test_bit(STATUS_FW_ERROR, &priv->status)) { 207 if (test_bit(STATUS_FW_ERROR, &priv->status)) {
208 IWL_DEBUG_INFO(priv, "Command %s failed: FW Error\n", 208 IWL_ERR(priv, "Command %s failed: FW Error\n",
209 get_cmd_string(cmd->id)); 209 get_cmd_string(cmd->id));
210 ret = -EIO; 210 ret = -EIO;
211 goto fail; 211 goto fail;