From 5b6780d045720848c57a7cf461b49befcd24c691 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 29 Aug 2011 13:45:25 +0200 Subject: usb/debug: add usb_ep_dump Add function to dump endpoint data, for debugging purposes. Signed-off-by: Gerd Hoffmann --- usb-linux.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usb-linux.c') diff --git a/usb-linux.c b/usb-linux.c index cb66ef3469..2a7b748ee6 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -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; } -- cgit 1.4.1