aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-04-29 11:18:59 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 15:02:26 -0400
commit57ffc589a92424f9def74fe0d49b2f7763ff07fd (patch)
tree2ec3f60cac2e5757206dee219e7b3a60ded13004 /drivers/net/wireless/iwlwifi/iwl3945-base.c
parent3e0d4cb12f6fd97193a455b49125398b2231c87c (diff)
mac80211: clean up get_tx_stats callback
The callback takes a ieee80211_tx_queue_stats with a contained array of ieee80211_tx_queue_stats_data, remove the former, rename the latter to ieee80211_tx_queue_stats and make tx_stats() take the array directly. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c6
1 files changed, 3 insertions, 3 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);