wusb: handle wusb device ep0 speed settings
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Sat, 26 Aug 2006 02:35:30 +0000 (19:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:55 +0000 (11:58 -0700)
commit5bb6e0ae8f9f3a215d6a7f99c8486b0301cc5db9
treeeee524e6f099445dbcacc38fd92e38fa0cf05101
parent0165de09747be76b09ef769fcfed3514fe5f6509
wusb: handle wusb device ep0 speed settings

This patch teaches the USB stack handling of WUSB devices (those whose
speed is USB_SPEED_VARIABLE). For these devices, we need to set ep0's
maxpacketsize to 512 (even though the device descriptor reports it as
0xff).

New code being pushed to linuxuwb.org requires this patch to connect WUSB
devices.

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c