* [PATCH] iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string
@ 2008-07-02 10:17 Helmut Schaa
2008-07-03 1:36 ` Zhu Yi
0 siblings, 1 reply; 2+ messages in thread
From: Helmut Schaa @ 2008-07-02 10:17 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, yi.zhu, tomas.winkler
Fix a typo which caused iwl_get_tx_fail_reason to ever return an empty string.
Signed-off-by: Helmut Schaa <hschaa@suse.de>
---
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 81ff4c2..5dd72cb 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1121,7 +1121,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 ""; }
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index 7296e28..d38241f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -1350,7 +1350,7 @@ int iwl_txq_check_empty(struct iwl_priv *priv, int sta_id, u8 tid, int txq_id)
}
EXPORT_SYMBOL(iwl_txq_check_empty);
-#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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string
2008-07-02 10:17 [PATCH] iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string Helmut Schaa
@ 2008-07-03 1:36 ` Zhu Yi
0 siblings, 0 replies; 2+ messages in thread
From: Zhu Yi @ 2008-07-03 1:36 UTC (permalink / raw)
To: Helmut Schaa; +Cc: linville, linux-wireless, tomas.winkler
On Wed, 2008-07-02 at 12:17 +0200, Helmut Schaa wrote:
> Fix a typo which caused iwl_get_tx_fail_reason to ever return an empty
> string.
>
> Signed-off-by: Helmut Schaa <hschaa@suse.de>
ACK. Thanks a lot!
-yi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-03 1:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 10:17 [PATCH] iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string Helmut Schaa
2008-07-03 1:36 ` Zhu Yi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).