ehci: rework frame skipping
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 May 2012 06:13:55 +0000 (08:13 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 7 Jun 2012 08:02:23 +0000 (10:02 +0200)
commitf020ed36fef7780e81a94543ae6388d8dc144ab6
tree2d3c1bc91bd3f4c1dd6ed51099aa04d514165b2d
parent3a21532626bb5c3ecb0f916843f75ccce6501a9d
ehci: rework frame skipping

Move the framecount check out of the loop and use the new
ehci_update_frindex function to skip frames if needed.

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