diff --git a/jtag/ChangeLog b/jtag/ChangeLog index d5bb887e..7a9ca093 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,9 @@ +2008-04-24 Mike Frysinger + + * src/tap/usbconn/libusb.c (usbconn_libusb_connect): Use the + usb_get_busses() function rather than the usb_busses global + variable due to portability issues (like with libusb-win32). + 2008-04-19 Kolja Waschk * src/tap/parport/ftd2xx.c: SetBaudRate to 3E6, not 48E6. Should diff --git a/jtag/src/tap/usbconn/libusb.c b/jtag/src/tap/usbconn/libusb.c index 60625d51..09ff8f45 100644 --- a/jtag/src/tap/usbconn/libusb.c +++ b/jtag/src/tap/usbconn/libusb.c @@ -121,7 +121,7 @@ usbconn_libusb_connect( const char **param, int paramc, usbconn_cable_t *templat return NULL; } - for (bus = usb_busses; bus && !found_dev; bus = bus->next) + for (bus = usb_get_busses(); bus && !found_dev; bus = bus->next) { struct usb_device *dev;