diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-06-15 00:33:18 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-06-15 00:33:18 +0000 |
| commit | 8437751d864a6b02bef3a914b6dac1bcfb968794 (patch) | |
| tree | 4b81b631b249a903756a500ebc8bef07b76398ef /sys/dev/usb/usb_request.c | |
| parent | b29310a2defa7bc13bc9cf228c5caa1722c852cd (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb_request.c')
| -rw-r--r-- | sys/dev/usb/usb_request.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_request.c b/sys/dev/usb/usb_request.c index e4e7fe85f2eb..da694c5a2cfc 100644 --- a/sys/dev/usb/usb_request.c +++ b/sys/dev/usb/usb_request.c @@ -79,7 +79,7 @@ usb2_do_request_callback(struct usb_xfer *xfer) usb2_start_hardware(xfer); break; default: - usb2_cv_signal(xfer->xroot->udev->default_cv); + cv_signal(xfer->xroot->udev->default_cv); break; } } @@ -437,7 +437,7 @@ usb2_do_request_flags(struct usb_device *udev, struct mtx *mtx, usb2_transfer_start(xfer); while (usb2_transfer_pending(xfer)) { - usb2_cv_wait(udev->default_cv, + cv_wait(udev->default_cv, xfer->xroot->xfer_mtx); } |
