]> git.proxmox.com Git - qemu.git/commit
usb-host: fix zero-length packets
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 19 Apr 2012 11:36:40 +0000 (13:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Apr 2012 10:21:16 +0000 (12:21 +0200)
commit0b377169b18d702d980d526578d8515900ca6eb1
tree204f391f855872e11a8bea1e216a0987bf9cba1b
parent818d59dc179b2861e49f3c6472787a23935aac0d
usb-host: fix zero-length packets

usb-host optimizes away zero-length packets by not entering the
processing loop at all.  Which isn't correct, we should submit a
zero-length urb to the host devicein that case.  This patch makes
sure we run the processing loop at least once.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/host-linux.c