From: Xenia Ragiadakou Date: Fri, 17 May 2013 17:38:25 +0000 (+0300) Subject: staging: ozwpan: fix access byteorder for wMaxPacketSize in ozhcd.c X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~589 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb560c401bf2f212167fdf3bfb15e57a78e2fa03;p=pandora-kernel.git 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 Signed-off-by: Xenia Ragiadakou Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed