]> Git Repo - qemu.git/commit - hw/usb/dev-hub.c
usb-hub: don't trigger assert on packet completion.
authorGerd Hoffmann <[email protected]>
Thu, 13 Oct 2011 10:52:47 +0000 (12:52 +0200)
committerGerd Hoffmann <[email protected]>
Thu, 13 Oct 2011 11:16:34 +0000 (13:16 +0200)
commit80cf7cf74f29a219e02b50f27c12b1c792ebf99b
tree8ae039df6b1465d8a3911ff6b6813f276629895f
parent3a3286bf0be8582854b3d451700ae38849b83b7c
usb-hub: don't trigger assert on packet completion.

Calling usb_packet_complete() recursively when passing up the completion
event up the chain for devices connected via usb hub will trigger an
assert.  So don't do that, make the usb hub emulation call the upstream
completion callback directly instead.

Based on a patch from Stefan Hajnoczi <[email protected]>

Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb-hub.c
This page took 0.023093 seconds and 4 git commands to generate.