summary refs log tree commit diff stats
path: root/usb-linux.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-02-26 16:14:46 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-02-27 13:37:37 +0100
commitd86b8853e1f0c7ffb917a7a48f2e44bc3d8e9f8a (patch)
treee85d13626adf93b2f918db8209d00c9fce3d95f3 /usb-linux.c
parent097a66ef5f6138c22bfdd1cc218eb2704e5eef9c (diff)
downloadfocaccia-qemu-d86b8853e1f0c7ffb917a7a48f2e44bc3d8e9f8a.tar.gz
focaccia-qemu-d86b8853e1f0c7ffb917a7a48f2e44bc3d8e9f8a.zip
usb-redir: Limit return values returned by iso packets
The usbredir protocol uses a status of usb_redir_stall to indicate that
an iso data stream has stopped (ie because the urbs failed on resubmit),
but iso packets should never return a result of USB_RET_STALL, since iso
endpoints cannot stall. So instead simply always return USB_RET_NAK on
iso stream errors.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'usb-linux.c')
0 files changed, 0 insertions, 0 deletions