rt2x00: Fix calculation of rt2800 iveiv entry offset.
authorGertjan van Wingerde <gwingerde@gmail.com>
Mon, 14 Dec 2009 22:32:31 +0000 (23:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 16:32:15 +0000 (11:32 -0500)
commit7988436c6330eab98f64b6e799ce2d30fe5ffd55
tree70b4a31120a82e38f8b91895815dec8942eb6069
parent6c3069b1e7e983e176a5f826e2edffefdd404a08
rt2x00: Fix calculation of rt2800 iveiv entry offset.

Fix typo. The index should be multiplied by the entry size, not 'and'-ed.

Found via code-inspection.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800.h