Hi,
usb_packet_complete(s->port.dev,&ep->packey[dir].p);
which will call usb_packet_complete() on packets which did not
return USB_RET_ASYNC from usb_handle_packet, and so trips this
assert.
Any suggestions about what the right way to fix this is?
(I'm a bit confused about the comment
The function usb_packet_complete() in hw/usb.c says:
/* Notify the controller that an async packet is complete. This should only
be called for packets previously deferred by returning USB_RET_ASYNC from
handle_packet. */
and this is checked by means of an assert(p->owner != NULL). However,