rt2x00: Limit TX done looping to number of TX ring entries
authorIvo van Doorn <IvDoorn@gmail.com>
Mon, 14 Jun 2010 20:13:37 +0000 (22:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jun 2010 20:02:20 +0000 (16:02 -0400)
Similar to rt2800pci, remove the check for duplicate
register reading, and instead limit the for-loop to
the maximum number of TX entries inside a queue.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found