rt2x00: Fix setting of txdesc->length field.
authorGertjan van Wingerde <gwingerde@gmail.com>
Sat, 8 May 2010 21:40:18 +0000 (23:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 May 2010 18:56:47 +0000 (14:56 -0400)
commitd43e49ec83b7d1b1339205e1f3980a447658dc40
treed4ad9063d0b8d71279761a9033023cd977232d31
parent05e8594d5594acb62896571a7fe04faa647e0437
rt2x00: Fix setting of txdesc->length field.

We should take the stripping of the IV into account for the txdesc->length
field.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Tested-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00crypto.c