aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-01-19 21:22:10 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-01-19 21:22:10 +0000
commit70e1b678ee030ddd01336e223996fbdd2b13cb22 (patch)
tree8ee178ec7cb423a9c16df72265b559d33d55233c /sys
parent8e097e5b322ecb980848fda7fc6c95524f0e97ba (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usbdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index 8f0ce0f46d69..a733bbf8de03 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -237,8 +237,8 @@ usbd_open_pipe_intr(usbd_interface_handle iface, u_int8_t address,
USBD_NO_TIMEOUT, cb);
ipipe->intrxfer = xfer;
ipipe->repeat = 1;
- err = usbd_transfer(xfer);
*pipe = ipipe;
+ err = usbd_transfer(xfer);
if (err != USBD_IN_PROGRESS && err)
goto bad2;
return (USBD_NORMAL_COMPLETION);