]> git.karo-electronics.de Git - mv-sheeva.git/commit
mwl8k: fix MCS bitmap size in SET_RATE command
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 30 Nov 2009 17:11:18 +0000 (18:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Dec 2009 21:51:18 +0000 (16:51 -0500)
commit0b5351a8e86292dfac1ca1451deaadb416a33cb8
tree7f8317fd27ebf3a5ae10a9b967dde046b1177c43
parent7c3f4bbedc241ddcd3abe1f419c356e625231da1
mwl8k: fix MCS bitmap size in SET_RATE command

The MCS bitmaps in the SET_RATE command structure were of the wrong
size, due to use of the wrong define for the array length.  Just
hardcode the lengths as 16, and do the same for the MCS bitmaps in
other command structures.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c