USB: fix mistake in usb_hcd_giveback_urb
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 22 Aug 2007 17:06:53 +0000 (13:06 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:19 +0000 (14:55 -0700)
commit1f5a3d0f34fd5719081c6b8f3dbbcbe328d4da31
treee62c613bb6d05849968239e1c3c478178bdc573d
parented6e52829c113ca18f042ac55cc77b1b90745eab
USB: fix mistake in usb_hcd_giveback_urb

This patch (as971) fixes a small mistake: The URB's completion status
needs to be adjusted before the URB is passed to usmon_urb_complete(),
not afterward.

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