mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
usb/debug: add usb_ep_dump
Add function to dump endpoint data, for debugging purposes. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
83a53bbcda
commit
5b6780d045
3 changed files with 44 additions and 0 deletions
|
@ -1214,6 +1214,9 @@ static int usb_linux_update_endp_table(USBHostDevice *s)
|
|||
i += descriptors[i];
|
||||
}
|
||||
}
|
||||
#ifdef DEBUG
|
||||
usb_ep_dump(&s->dev);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue