Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79412
b: refs/heads/master
c: 89539eb
h: refs/heads/master
v: v3
  • Loading branch information
Ivo van Doorn authored and David S. Miller committed Jan 28, 2008
1 parent 9a534b9 commit ac81985
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40561b8426c27f187e2ae496ed603e7c4e3ab818
refs/heads/master: 89539ebe2f2eb3a0d77b92884b092f2eb2575bd9
13 changes: 9 additions & 4 deletions trunk/drivers/net/wireless/rt2x00/rt2x00dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1239,11 +1239,16 @@ static int rt2x00lib_alloc_rings(struct rt2x00_dev *rt2x00dev)

/*
* Initialize ring parameters.
* cw_min: 2^5 = 32.
* cw_max: 2^10 = 1024.
* RX: queue_idx = 0
* TX: queue_idx = IEEE80211_TX_QUEUE_DATA0 + index
* TX: cw_min: 2^5 = 32.
* TX: cw_max: 2^10 = 1024.
*/
index = 0;
ring_for_each(rt2x00dev, ring) {
rt2x00dev->rx->rt2x00dev = rt2x00dev;
rt2x00dev->rx->queue_idx = 0;

index = IEEE80211_TX_QUEUE_DATA0;
txring_for_each(rt2x00dev, ring) {
ring->rt2x00dev = rt2x00dev;
ring->queue_idx = index++;
ring->tx_params.aifs = 2;
Expand Down

0 comments on commit ac81985

Please sign in to comment.