diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 5ea8f79d..e893f136 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2008-05-02 Arnim Laeuger + + * src/tap/cable/generic_usbconn.c (generic_usbconn_connect): + fix user_specified.driver comparison + 2008-05-01 Mike Frysinger * configure.ac: Check for libusb before libftdi since the latter needs diff --git a/jtag/src/tap/cable/generic_usbconn.c b/jtag/src/tap/cable/generic_usbconn.c index dd2aab91..4e62dbe2 100644 --- a/jtag/src/tap/cable/generic_usbconn.c +++ b/jtag/src/tap/cable/generic_usbconn.c @@ -107,7 +107,7 @@ generic_usbconn_connect( char *params[], cable_t *cable ) for (i = 0; usbconn_drivers[i] && !conn; i++) { if ((user_specified.driver == NULL) - || (strcasecmp(user_specified.name, usbconn_drivers[i]->type) == 0)) + || (strcasecmp(user_specified.driver, usbconn_drivers[i]->type) == 0)) { int j;