Revision 00ff227a usb-linux.c
b/usb-linux.c | ||
---|---|---|
991 | 991 |
async_complete(dev); |
992 | 992 |
dev->closing = 0; |
993 | 993 |
usb_device_detach(&dev->dev); |
994 |
ioctl(dev->fd, USBDEVFS_RESET); |
|
994 | 995 |
close(dev->fd); |
995 | 996 |
dev->fd = -1; |
996 | 997 |
return 0; |
Also available in: Unified diff