summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--usb-linux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usb-linux.c b/usb-linux.c
index 70d7a1c29b..67e4acd511 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -833,8 +833,7 @@ static int usb_linux_update_endp_table(USBHostDevice *s)
 
         ret = ioctl(s->fd, USBDEVFS_CONTROL, &ct);
         if (ret < 0) {
-            perror("usb_linux_update_endp_table");
-            return 1;
+            alt_interface = interface;
         }
 
         /* the current interface descriptor is the active interface