diff options
| author | 2013-05-17 20:38:25 +0300 | |
|---|---|---|
| committer | 2013-05-17 11:51:17 -0700 | |
| commit | cb560c401bf2f212167fdf3bfb15e57a78e2fa03 (patch) | |
| tree | 185fd60df9cc56eb01f091b3417c111b1c499df7 /scripts/patch-kernel | |
| parent | rtl8192u: remove whitespace after '(' and before ')' in r8192U_dm.c (diff) | |
staging: ozwpan: fix access byteorder for wMaxPacketSize in ozhcd.c
This patch fixes the access byteorder of wMaxPacketSize
which is __le16, following the USB standard, and needs to
be converted into native cpu byteorder in order to be accessed.
Instead of using le16_to_cpu(hep->desc.wMaxPacketSize),
it was used the usb_endpoint_maxp() function, defined in
<uapi/linux/usb/ch9.h>
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
