fx2lafw: fix device product string check
Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
This commit is contained in:
parent
7087a8b0fa
commit
fef90b4101
|
@ -335,7 +335,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
|
|||
des.idProduct == supported_fx2[j].pid &&
|
||||
(!supported_fx2[j].usb_manufacturer ||
|
||||
!strcmp(manufacturer, supported_fx2[j].usb_manufacturer)) &&
|
||||
(!supported_fx2[j].usb_manufacturer ||
|
||||
(!supported_fx2[j].usb_product ||
|
||||
!strcmp(product, supported_fx2[j].usb_product))) {
|
||||
prof = &supported_fx2[j];
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue