rt2x00: Fix queue_idx initialization
authorIvo van Doorn <ivdoorn@gmail.com>
Thu, 10 Jan 2008 21:40:13 +0000 (22:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:09:48 +0000 (15:09 -0800)
commit89539ebe2f2eb3a0d77b92884b092f2eb2575bd9
treeefa1eb958569e87faa0111755a6cabb7d132420c
parent40561b8426c27f187e2ae496ed603e7c4e3ab818
rt2x00: Fix queue_idx initialization

For TX rings the queue_idx should start at
IEEE80211_TX_QUEUE_DATA0 and for each followup
ring this index needs to be increased.

For the RX ring the queue_idx should be set
to 0. We don't need to initialize the tx_params.

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