iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string
PATCH 1/1 iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string
Fix a typo which caused iwl_get_tx_fail_reason to ever return an empty string.
Signed-off-by Helmut Schaa <[email protected]>
---
drivers/net/wireless/iwlwifi/iwl-dev.h +1 -1
@@ -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 "" ; }
drivers/net/wireless/iwlwifi/iwl-tx.c +1 -1
@@ -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 #xconst char *iwl_get_tx_fail_reason (u32 status)
Quoted 4 lines · Helmut Schaa
Fix a typo which caused
iwl_get_tx_fail_reasonto ever return an empty string.Signed-off-by Helmut Schaa <[email protected]>
ACK. Thanks a lot!
-yi