iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string
authorHelmut Schaa <hschaa@suse.de>
Wed, 2 Jul 2008 10:17:06 +0000 (12:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jul 2008 18:15:59 +0000 (14:15 -0400)
Signed-off-by: Helmut Schaa <hschaa@suse.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-tx.c

index 70e10ea35a519f95888c162cdb8d3f3235ac8cdf..c8d3d97cf48db021309a89990015e4242050949a 100644 (file)
@@ -1103,7 +1103,7 @@ static inline void iwl_txq_ctx_deactivate(struct iwl_priv *priv, int txq_id)
        clear_bit(txq_id, &priv->txq_ctx_active_msk);
 }
 
-#ifdef CONFIG_IWLWIF_DEBUG
+#ifdef CONFIG_IWLWIFI_DEBUG
 const char *iwl_get_tx_fail_reason(u32 status);
 #else
 static inline const char *iwl_get_tx_fail_reason(u32 status) { return ""; }
index 032641d4c7d13a07fbed30f35122f8ff9fb74377..0be2a71990b03a6b5882cbe059c309f29c282eee 100644 (file)
@@ -1493,7 +1493,7 @@ void iwl_rx_reply_compressed_ba(struct iwl_priv *priv,
 }
 EXPORT_SYMBOL(iwl_rx_reply_compressed_ba);
 
-#ifdef CONFIG_IWLWIF_DEBUG
+#ifdef CONFIG_IWLWIFI_DEBUG
 #define TX_STATUS_ENTRY(x) case TX_STATUS_FAIL_ ## x: return #x
 
 const char *iwl_get_tx_fail_reason(u32 status)