staging: usbip: fix wrong endian conversion
commitd13ae39a34fb711bf0add4bfd25e08b2f7aba104
authorDavid Chang <dchang@novell.com>
Thu, 12 May 2011 10:31:11 +0000 (12 18:31 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:32:09 +0000 (3 09:32 +0900)
tree03bcbde371363f91772e7fac97193efa5c60c504
parent4538148bcdc6a2a6fa642e24a7a2f73fd19be651
staging: usbip: fix wrong endian conversion

commit cacd18a8476ce145ca5dcd46dc5b75585fd1289c upstream.

Fix number_of_packets wrong endian conversion in function
correct_endian_ret_submit()

Signed-off-by: David Chang <dchang@novell.com>
Acked-by: Arjan Mels <arjan.mels@gmx.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/usbip_common.c