From: Michael Gernoth Date: Wed, 29 Aug 2007 08:37:29 +0000 (+0200) Subject: ignore bus-id on XILINX_USB_DEV setting missing a device-id X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/commitdiff_plain/77683ab696f183c63e8695063c8107d26809ed99?ds=sidebyside ignore bus-id on XILINX_USB_DEV setting missing a device-id --- diff --git a/usb-driver.c b/usb-driver.c index 05ba48a..929c101 100644 --- a/usb-driver.c +++ b/usb-driver.c @@ -500,6 +500,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { } else { devnum = strtol(devstr, &remainder, 10); if (devstr == remainder) { + busnum = -1; devnum = -1; } else { fprintf(stderr,"Using XILINX platform cable USB at %03d:%03d\n",