diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2009-10-30 14:36:15 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-02 15:39:47 -0500 |
commit | f2f21b4928489e1cf6c289d2f429e75c6dee61b5 (patch) | |
tree | c0bcc8471bf80445718f22298bc94f7ca6f59e9e | |
parent | 5ad13f8ce76814b37842c15301287efd607c6d26 (diff) | |
download | kernel_samsung_aries-f2f21b4928489e1cf6c289d2f429e75c6dee61b5.zip kernel_samsung_aries-f2f21b4928489e1cf6c289d2f429e75c6dee61b5.tar.gz kernel_samsung_aries-f2f21b4928489e1cf6c289d2f429e75c6dee61b5.tar.bz2 |
iwlwifi: print warning when sending host command fails
More information than the "-EIO" return code will be useful here.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index b46967f..05e7510 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c @@ -979,7 +979,8 @@ int iwl_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd) !(cmd->flags & CMD_SIZE_HUGE)); if (iwl_is_rfkill(priv) || iwl_is_ctkill(priv)) { - IWL_DEBUG_INFO(priv, "Not sending command - RF/CT KILL\n"); + IWL_WARN(priv, "Not sending command - %s KILL\n", + iwl_is_rfkill(priv) ? "RF" : "CT"); return -EIO; } |