]> git.proxmox.com Git - qemu.git/commit - hw/usb/host-linux.c
usb: split endpoint init and reset
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 3 Jul 2012 08:11:21 +0000 (10:11 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Jul 2012 09:59:54 +0000 (11:59 +0200)
commit19deaa089cb874912767bc6071f3b7372d3ff961
tree7620b7aa28c64623ced9885826353f858725eb29
parentadae502c0ae4572ef08f71cb5b5ed5a8e90299fe
usb: split endpoint init and reset

Create a new usb_ep_reset() function to reset endpoint state, without
re-initialiting the queues, so we don't unlink in-flight packets just
because usb-host has to re-parse the descriptor tables.

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