summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-26 08:23:39 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-16 14:49:56 -0700
commitd9fb6465802c2279ea14cc26eb66d17c133478b1 (patch)
tree976d0ac36c6fa9e4f0a09a08d4354b335ab692ab /drivers/net/wireless/iwlwifi/iwl-agn-lib.c
parentc14c73728b8feb01d9142f9241bf14601cfb86f7 (diff)
iwlwifi: remove get_cmd_string
The command strings are needed through the layers for debug and error messages, but can differ with opmode. As a result, we need to give the command names to the transport layer as configuration. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-lib.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index 8e83fb8c287..4e0c248a005 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -1242,7 +1242,7 @@ int iwl_dvm_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd)
if (test_bit(STATUS_FW_ERROR, &priv->status)) {
IWL_ERR(priv, "Command %s failed: FW Error\n",
- get_cmd_string(cmd->id));
+ iwl_dvm_get_cmd_string(cmd->id));
return -EIO;
}