Commit 994d31f7 authored by Helmut Schaa's avatar Helmut Schaa Committed by John W. Linville

iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string

Signed-off-by: default avatarHelmut Schaa <hschaa@suse.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4e887d5b
...@@ -1103,7 +1103,7 @@ static inline void iwl_txq_ctx_deactivate(struct iwl_priv *priv, int txq_id) ...@@ -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); 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); const char *iwl_get_tx_fail_reason(u32 status);
#else #else
static inline const char *iwl_get_tx_fail_reason(u32 status) { return ""; } static inline const char *iwl_get_tx_fail_reason(u32 status) { return ""; }
......
...@@ -1493,7 +1493,7 @@ void iwl_rx_reply_compressed_ba(struct iwl_priv *priv, ...@@ -1493,7 +1493,7 @@ void iwl_rx_reply_compressed_ba(struct iwl_priv *priv,
} }
EXPORT_SYMBOL(iwl_rx_reply_compressed_ba); 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 #define TX_STATUS_ENTRY(x) case TX_STATUS_FAIL_ ## x: return #x
const char *iwl_get_tx_fail_reason(u32 status) const char *iwl_get_tx_fail_reason(u32 status)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment