]> git.proxmox.com Git - qemu.git/commit
usb-host: handle guest-issued clear halt
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 May 2012 11:54:45 +0000 (13:54 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 14 May 2012 08:22:20 +0000 (10:22 +0200)
commita2498f76b8ddd4011645e54faf6eb9281bd6f401
treee215555bb9f2eabf0da561e740fc34b86e330c4b
parent94d1991445fa3582c042ee4e5b72606e2fc39cc2
usb-host: handle guest-issued clear halt

Most important here is to update our internal endpoint state so we know
the endpoint isn't in halted state any more.  Without this usb-host
tries to clear halt again with the next data transfer submitted.  Doing
this twice is (a) not correct and (b) confuses some usb devices,
rendering them non-functional in the guest.

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