PERFORCE change 129495 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sun Nov 25 03:01:28 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=129495
Change 129495 by hselasky at hselasky_laptop001 on 2007/11/25 11:01:06
Refactor code.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#51 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#51 (text+ko) ====
@@ -1577,7 +1577,10 @@
(xfer->pipe->methods->open) (xfer);
mtx_unlock(xfer->usb_mtx);
}
- if (!xfer->flags_int.transferring) {
+ if (xfer->flags_int.transferring) {
+ return;
+ }
+
/* call callback */
usbd_callback_wrapper(xfer);
@@ -1604,7 +1607,6 @@
(bus->methods->do_poll) (bus);
}
}
- }
return;
}
More information about the p4-projects
mailing list