diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-10-29 23:14:39 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-10-29 23:14:39 +0000 |
| commit | 1063b450cdee7134c27abed07ec12b8526aae73f (patch) | |
| tree | 6013ba64340cfcdf744aa1e5d088cce48ee0dbce /sys/dev/usb/usb_transfer.c | |
| parent | 6333b36c435bb0fe13fe9370ec430de229e0e5c7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb_transfer.c')
| -rw-r--r-- | sys/dev/usb/usb_transfer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_transfer.c b/sys/dev/usb/usb_transfer.c index 8daf475a4b8a..9a063a12a309 100644 --- a/sys/dev/usb/usb_transfer.c +++ b/sys/dev/usb/usb_transfer.c @@ -2121,6 +2121,9 @@ usb_dma_delay_done_cb(void *arg) DPRINTFN(3, "Completed %p\n", xfer); + /* only delay once */ + xfer->flags_int.did_dma_delay = 1; + /* queue callback for execution, again */ usbd_transfer_done(xfer, 0); } @@ -2488,9 +2491,6 @@ usbd_callback_wrapper_sub(struct usb_xfer *xfer) usb_timeout_t temp; - /* only delay once */ - xfer->flags_int.did_dma_delay = 1; - /* we can not cancel this delay */ xfer->flags_int.can_cancel_immed = 0; |
