diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00mac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index d4ceab7646e7..7bc5129484f2 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c | |||
@@ -457,9 +457,9 @@ int rt2x00mac_get_tx_stats(struct ieee80211_hw *hw, | |||
457 | unsigned int i; | 457 | unsigned int i; |
458 | 458 | ||
459 | for (i = 0; i < hw->queues; i++) { | 459 | for (i = 0; i < hw->queues; i++) { |
460 | stats->data[i].len = rt2x00dev->tx[i].length; | 460 | stats[i].len = rt2x00dev->tx[i].length; |
461 | stats->data[i].limit = rt2x00dev->tx[i].limit; | 461 | stats[i].limit = rt2x00dev->tx[i].limit; |
462 | stats->data[i].count = rt2x00dev->tx[i].count; | 462 | stats[i].count = rt2x00dev->tx[i].count; |
463 | } | 463 | } |
464 | 464 | ||
465 | return 0; | 465 | return 0; |