aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-tx.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-05-29 04:35:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-03 15:00:25 -0400
commit972cf447d20df30dbd74edfc00ae179c4b822c68 (patch)
treec5daa3264a16a2fc5d44ebbdd3f1c97e9dccfcad /drivers/net/wireless/iwlwifi/iwl-tx.c
parent17b889290a184b52ee394c31dd5a52b8c1b3456d (diff)
iwlwifi: implement txq invalidate byte count table
This is required to overcome a bug in 5000 HW byte count table. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-tx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index b2b2ed29602a..224bcec21e5b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -1080,8 +1080,11 @@ int iwl_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index)
1080 tx_info = &txq->txb[txq->q.read_ptr]; 1080 tx_info = &txq->txb[txq->q.read_ptr];
1081 ieee80211_tx_status_irqsafe(priv->hw, tx_info->skb[0]); 1081 ieee80211_tx_status_irqsafe(priv->hw, tx_info->skb[0]);
1082 tx_info->skb[0] = NULL; 1082 tx_info->skb[0] = NULL;
1083 iwl_hw_txq_free_tfd(priv, txq);
1084 1083
1084 if (priv->cfg->ops->lib->txq_inval_byte_cnt_tbl)
1085 priv->cfg->ops->lib->txq_inval_byte_cnt_tbl(priv, txq);
1086
1087 iwl_hw_txq_free_tfd(priv, txq);
1085 nfreed++; 1088 nfreed++;
1086 } 1089 }
1087 return nfreed; 1090 return nfreed;