]> err.no Git - linux-2.6/commit
USB: set the correct interval for interrupt URBs
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 26 Feb 2007 19:56:14 +0000 (14:56 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Mar 2007 03:52:23 +0000 (19:52 -0800)
commit97b9eb91dc131a10342da1f604e5bd8b1316abdb
treed960cf039c29b8c6c7603801db8c6966486bcca7
parent14360ab76ae81012ef09cce37a587e95ab2e1d86
USB: set the correct interval for interrupt URBs

This patch (as862) fixes a couple of bugs in the way usbcore handles
intervals for interrupt URBs.  usb_interrupt_msg (and usb_bulk_msg for
backward compatibility) don't set the interval correctly for
high-speed devices.  proc_do_submiturb() doesn't set it correctly when
a bulk URB is submitted to an interrupt endpoint.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devio.c
drivers/usb/core/message.c