diff options
author | Helmut Schaa <hschaa@suse.de> | 2008-07-02 06:17:06 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-08 14:15:59 -0400 |
commit | 994d31f7430c3639b73c6ee038bd437c926b1227 (patch) | |
tree | 5159eb2b1023a1580010a5690978f18c1ac02340 /drivers/net | |
parent | 4e887d5b2fb909f18d153f47d2f3fdc2c76bb83a (diff) |
iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string
Signed-off-by: Helmut Schaa <hschaa@suse.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 70e10ea35a51..c8d3d97cf48d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -1103,7 +1103,7 @@ static inline void iwl_txq_ctx_deactivate(struct iwl_priv *priv, int txq_id) | |||
1103 | clear_bit(txq_id, &priv->txq_ctx_active_msk); | 1103 | clear_bit(txq_id, &priv->txq_ctx_active_msk); |
1104 | } | 1104 | } |
1105 | 1105 | ||
1106 | #ifdef CONFIG_IWLWIF_DEBUG | 1106 | #ifdef CONFIG_IWLWIFI_DEBUG |
1107 | const char *iwl_get_tx_fail_reason(u32 status); | 1107 | const char *iwl_get_tx_fail_reason(u32 status); |
1108 | #else | 1108 | #else |
1109 | static inline const char *iwl_get_tx_fail_reason(u32 status) { return ""; } | 1109 | 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 032641d4c7d1..0be2a71990b0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c | |||
@@ -1493,7 +1493,7 @@ void iwl_rx_reply_compressed_ba(struct iwl_priv *priv, | |||
1493 | } | 1493 | } |
1494 | EXPORT_SYMBOL(iwl_rx_reply_compressed_ba); | 1494 | EXPORT_SYMBOL(iwl_rx_reply_compressed_ba); |
1495 | 1495 | ||
1496 | #ifdef CONFIG_IWLWIF_DEBUG | 1496 | #ifdef CONFIG_IWLWIFI_DEBUG |
1497 | #define TX_STATUS_ENTRY(x) case TX_STATUS_FAIL_ ## x: return #x | 1497 | #define TX_STATUS_ENTRY(x) case TX_STATUS_FAIL_ ## x: return #x |
1498 | 1498 | ||
1499 | const char *iwl_get_tx_fail_reason(u32 status) | 1499 | const char *iwl_get_tx_fail_reason(u32 status) |