uni-t-ut32x: Fix typo that prevents usage with multiple devices.

This commit is contained in:
Bert Vermeulen 2014-01-17 12:11:52 +01:00
parent c2b394d562
commit e196cb6193
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static GSList *scan(GSList *options)
return NULL;
devices = NULL;
if ((usb_devices = sr_usb_find(drvc->sr_ctx->libusb_ctx, USB_CONN))) {
if ((usb_devices = sr_usb_find(drvc->sr_ctx->libusb_ctx, conn))) {
/* We have a list of sr_usb_dev_inst matching the connection
* string. Wrap them in sr_dev_inst and we're done. */
for (l = usb_devices; l; l = l->next) {