Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107105
b: refs/heads/master
c: 9c0ab71
h: refs/heads/master
i:
  107103: c01151b
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Jul 29, 2008
1 parent bffbf4a commit b6ec977
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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: 74c0ee9b59bdaa81a666d5d58022f847390e4b0c
refs/heads/master: 9c0ab712c7e40b61063431cae74a3e763535a4e7
10 changes: 8 additions & 2 deletions trunk/drivers/net/wireless/rt2x00/rt2x00queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,12 @@ void rt2x00queue_init_rx(struct rt2x00_dev *rt2x00dev)
if (!rt2x00dev->ops->lib->init_rxentry)
return;

for (i = 0; i < queue->limit; i++)
for (i = 0; i < queue->limit; i++) {
queue->entries[i].flags = 0;

rt2x00dev->ops->lib->init_rxentry(rt2x00dev,
&queue->entries[i]);
}
}

void rt2x00queue_init_tx(struct rt2x00_dev *rt2x00dev)
Expand All @@ -508,9 +511,12 @@ void rt2x00queue_init_tx(struct rt2x00_dev *rt2x00dev)
if (!rt2x00dev->ops->lib->init_txentry)
continue;

for (i = 0; i < queue->limit; i++)
for (i = 0; i < queue->limit; i++) {
queue->entries[i].flags = 0;

rt2x00dev->ops->lib->init_txentry(rt2x00dev,
&queue->entries[i]);
}
}
}

Expand Down

0 comments on commit b6ec977

Please sign in to comment.