From 3d108fd2b5b903b91017639059900e56d7657eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Fri, 2 May 2008 14:05:50 +0000 Subject: [PATCH] fix user_specified.driver comparison git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1190 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/src/tap/cable/generic_usbconn.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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;