aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index f887a4e54ba2..64cb905cdaed 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -6420,9 +6420,9 @@ static int iwl4965_mac_get_tx_stats(struct ieee80211_hw *hw,
6420 q = &txq->q; 6420 q = &txq->q;
6421 avail = iwl4965_queue_space(q); 6421 avail = iwl4965_queue_space(q);
6422 6422
6423 stats->data[i].len = q->n_window - avail; 6423 stats[i].len = q->n_window - avail;
6424 stats->data[i].limit = q->n_window - q->high_mark; 6424 stats[i].limit = q->n_window - q->high_mark;
6425 stats->data[i].count = q->n_window; 6425 stats[i].count = q->n_window;
6426 6426
6427 } 6427 }
6428 spin_unlock_irqrestore(&priv->lock, flags); 6428 spin_unlock_irqrestore(&priv->lock, flags);