Commit 6668e4eb authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by John W. Linville

iwlegacy: s/il_txq_mem/il_free_txq_mem/g

Previous name was confusing.
Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent bc269a8e
...@@ -1002,7 +1002,7 @@ il3945_hw_txq_ctx_free(struct il_priv *il) ...@@ -1002,7 +1002,7 @@ il3945_hw_txq_ctx_free(struct il_priv *il)
il_tx_queue_free(il, txq_id); il_tx_queue_free(il, txq_id);
/* free tx queue structure */ /* free tx queue structure */
il_txq_mem(il); il_free_txq_mem(il);
} }
void void
......
...@@ -1939,7 +1939,7 @@ il4965_hw_txq_ctx_free(struct il_priv *il) ...@@ -1939,7 +1939,7 @@ il4965_hw_txq_ctx_free(struct il_priv *il)
il4965_free_dma_ptr(il, &il->scd_bc_tbls); il4965_free_dma_ptr(il, &il->scd_bc_tbls);
/* free tx queue structure */ /* free tx queue structure */
il_txq_mem(il); il_free_txq_mem(il);
} }
/** /**
......
...@@ -4591,12 +4591,12 @@ il_alloc_txq_mem(struct il_priv *il) ...@@ -4591,12 +4591,12 @@ il_alloc_txq_mem(struct il_priv *il)
EXPORT_SYMBOL(il_alloc_txq_mem); EXPORT_SYMBOL(il_alloc_txq_mem);
void void
il_txq_mem(struct il_priv *il) il_free_txq_mem(struct il_priv *il)
{ {
kfree(il->txq); kfree(il->txq);
il->txq = NULL; il->txq = NULL;
} }
EXPORT_SYMBOL(il_txq_mem); EXPORT_SYMBOL(il_free_txq_mem);
int int
il_force_reset(struct il_priv *il, bool external) il_force_reset(struct il_priv *il, bool external)
......
...@@ -1747,7 +1747,7 @@ void il_mac_remove_interface(struct ieee80211_hw *hw, ...@@ -1747,7 +1747,7 @@ void il_mac_remove_interface(struct ieee80211_hw *hw,
int il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
enum nl80211_iftype newtype, bool newp2p); enum nl80211_iftype newtype, bool newp2p);
int il_alloc_txq_mem(struct il_priv *il); int il_alloc_txq_mem(struct il_priv *il);
void il_txq_mem(struct il_priv *il); void il_free_txq_mem(struct il_priv *il);
#ifdef CONFIG_IWLEGACY_DEBUGFS #ifdef CONFIG_IWLEGACY_DEBUGFS
extern void il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len); extern void il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len);
......
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