rt2x00: Fix queue index handling
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 3 Feb 2008 14:55:21 +0000 (15:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:19:29 +0000 (15:19 -0500)
commit10b6b80145cc93887dd8aab99bfffa375e9add31
tree043f0e2393a42482574cc1a718054779caaf0c9d
parent5957da4c6e67a5447e75c2ad65252fdd5e22f9d0
rt2x00: Fix queue index handling

When Q_INDEX is increased, the queue->length should be increased,
only when Q_INDEX_DONE is increased should queue_length be descreased.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.c