aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c6
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 67fd267c99ca..bad367cfbee3 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -7217,9 +7217,9 @@ static int iwl3945_mac_get_tx_stats(struct ieee80211_hw *hw,
7217 q = &txq->q; 7217 q = &txq->q;
7218 avail = iwl3945_queue_space(q); 7218 avail = iwl3945_queue_space(q);
7219 7219
7220 stats->data[i].len = q->n_window - avail; 7220 stats[i].len = q->n_window - avail;
7221 stats->data[i].limit = q->n_window - q->high_mark; 7221 stats[i].limit = q->n_window - q->high_mark;
7222 stats->data[i].count = q->n_window; 7222 stats[i].count = q->n_window;
7223 7223
7224 } 7224 }
7225 spin_unlock_irqrestore(&priv->lock, flags); 7225 spin_unlock_irqrestore(&priv->lock, flags);
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);