summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-09-22 18:02:02 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-10-07 15:50:48 -0700
commit69fdb710b29d096bc50123f7c97891e31ffe45f9 (patch)
tree8c8575274e648498ad3a16e2a66d1fa27f71f684 /drivers/net/wireless/iwlwifi/iwl-agn.h
parenta30e3112a8bcb5bc1caa48547e597de3992e1b21 (diff)
downloadblackbird-op-linux-69fdb710b29d096bc50123f7c97891e31ffe45f9.tar.gz
blackbird-op-linux-69fdb710b29d096bc50123f7c97891e31ffe45f9.zip
iwlwifi: move tx fail code to agn
The code to print out TX failure reasons is AGN specific, so it can be in the AGN module. 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.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.h b/drivers/net/wireless/iwlwifi/iwl-agn.h
index 632ea4ba82bb..d6645ec9ec5b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.h
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.h
@@ -248,8 +248,10 @@ void iwlagn_bt_setup_deferred_work(struct iwl_priv *priv);
void iwlagn_bt_cancel_deferred_work(struct iwl_priv *priv);
#ifdef CONFIG_IWLWIFI_DEBUG
+const char *iwl_get_tx_fail_reason(u32 status);
const char *iwl_get_agg_tx_fail_reason(u16 status);
#else
+static inline const char *iwl_get_tx_fail_reason(u32 status) { return ""; }
static inline const char *iwl_get_agg_tx_fail_reason(u16 status) { return ""; }
#endif
OpenPOWER on IntegriCloud