# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.636   -> 1.637  
#	drivers/usb/usb-ohci.c	1.27    -> 1.28   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/08/29	david-b@pacbell.net	1.637
# [PATCH] USB: ohci completion of unlinked urbs patch
# 
# OHCI bug fix
# --------------------------------------------
#
diff -Nru a/drivers/usb/usb-ohci.c b/drivers/usb/usb-ohci.c
--- a/drivers/usb/usb-ohci.c	Thu Aug 29 13:54:14 2002
+++ b/drivers/usb/usb-ohci.c	Thu Aug 29 13:54:14 2002
@@ -1512,6 +1512,8 @@
 			urb->complete (urb);
 	} else {
 		urb->status = -ENOENT;
+		if (urb->complete)
+			urb->complete (urb);
 
 		/* unblock sohci_unlink_urb */
 		if (wait_head)
