diff --git a/fastboot/usb_linux.c b/fastboot/usb_linux.c index 2ce53eb83..78b7b9805 100644 --- a/fastboot/usb_linux.c +++ b/fastboot/usb_linux.c @@ -137,6 +137,7 @@ static int filter_usb_device(int fd, char *ptr, int len, int writable, ctrl.wIndex = 0; ctrl.wLength = sizeof(buffer); ctrl.data = buffer; + ctrl.timeout = 50; result = ioctl(fd, USBDEVFS_CONTROL, &ctrl); if (result > 0) {