aboutsummaryrefslogtreecommitdiff
path: root/usb-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-linux.c')
-rw-r--r--usb-linux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usb-linux.c b/usb-linux.c
index 1ecfbc4565..d0d7cff496 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -846,6 +846,9 @@ static int usb_linux_update_endp_table(USBHostDevice *s)
case 0x03:
type = USBDEVFS_URB_TYPE_INTERRUPT;
break;
+ default:
+ DPRINTF("usb_host: malformed endpoint type\n");
+ type = USBDEVFS_URB_TYPE_BULK;
}
s->endp_table[(devep & 0xf) - 1].type = type;
s->endp_table[(devep & 0xf) - 1].halted = 0;