usb: wusbcore: fix endianess issues when using dwTransferID
authorThomas Pugliese <thomas.pugliese@gmail.com>
Fri, 27 Sep 2013 20:33:35 +0000 (15:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 01:55:04 +0000 (18:55 -0700)
commitfdd160c3088f7e7de033cd31f4d11f38fc24803d
tree1f735cee320e9d3e1ff85f72a2137f87150d5d99
parent864cf949981754c53de0a2efdc6c542c51d61328
usb: wusbcore: fix endianess issues when using dwTransferID

Add a new function to get the xfer ID in little endian format
(wa_xfer_id_le32), and use it instead of wa_xfer_id where appropriate.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/wusbcore/wa-xfer.c