From 3afd51e7d51cbde8c973b1a5a51f826f160ec998 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Wed, 24 Feb 2016 22:08:36 +0000 Subject: [PATCH] Summary: Fix walking the list of HID matches When walking the list of matches returned by hid_enumerate(), actually proceed to the next element. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1383 81a1dc3b-b13d-400b-aceb-764788c761c2 --- usb_hidapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usb_hidapi.c b/usb_hidapi.c index 3c630139..0eabf3b5 100644 --- a/usb_hidapi.c +++ b/usb_hidapi.c @@ -115,6 +115,7 @@ static int usbhid_open(char * port, union pinfo pinfo, union filedescriptor *fd) } avrdude_message(MSG_DEBUG, "%s: usbhid_open(): serial number doesn't match\n", progname); + walk = walk->next; } if (walk == NULL) {