Correct two comments.

This commit is contained in:
Hans Petter Selasky 2013-09-05 12:21:11 +00:00
parent 96a62209fb
commit 5122043efe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255242

View File

@ -697,7 +697,7 @@ ugen20_detach_kernel_driver(struct libusb20_device *pdev,
if (ioctl(pdev->file_ctrl, IOUSB(USB_IFACE_DRIVER_DETACH), &temp)) {
return (LIBUSB20_ERROR_OTHER);
}
return (0); /* kernel driver is active */
return (0); /* kernel driver is detached */
}
static int
@ -724,7 +724,7 @@ ugen20_do_request_sync(struct libusb20_device *pdev,
/* get actual length */
*pactlen = req.ucr_actlen;
}
return (0); /* kernel driver is active */
return (0); /* request was successful */
}
static int