Skip to contentSkip to conversation

usb: Remove obsolete assert from usb_packet_complete

PATCH Gerd Hoffmann 1 participant 1 message Jul 2, 2012 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Jan Kiszka

Due to queuing/pipelining, there can now be multiple packets per endpoint in flight. So the assertion in usb_packet_complete became wrong and can cause bogus QEMU terminations. Seen with a passed-through USB headset.

NAK. The assert doesn't protect against multiple packets in flight, but against packet reorderng.

Need to understand why to assert actually triggers.

cheers,
Gerd