rt2x00: Fix rt2800usb TX descriptor writing.
authorGertjan van Wingerde <gwingerde@gmail.com>
Thu, 13 May 2010 19:16:04 +0000 (21:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 May 2010 19:07:42 +0000 (15:07 -0400)
commit663cb47cc2c5acd32850f67d051e47d62ed199c9
tree08165cac25b78182f085c20bac7902cd5c51f733
parent9655a6ec19ca656af246fb80817aa337892aefbf
rt2x00: Fix rt2800usb TX descriptor writing.

The recent changes to skb handling introduced a bug in the rt2800usb
TX descriptor writing whereby the length of the USB packet wasn't
calculated correctly.
Found via code inspection, as the devices themselves didn't seem to mind.

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/rt2800usb.c