Correct two comments.
This commit is contained in:
parent
e6563595d7
commit
d2f07e2fda
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user