dslogic: Updated matching of device with loaded firmware

This commit is contained in:
Joel Holdsworth 2017-06-13 12:07:00 -06:00 committed by Uwe Hermann
parent 84f6d40a11
commit 3c749da174
1 changed files with 1 additions and 2 deletions

View File

@ -258,8 +258,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
devc->samplerates = samplerates; devc->samplerates = samplerates;
devc->num_samplerates = ARRAY_SIZE(samplerates); devc->num_samplerates = ARRAY_SIZE(samplerates);
has_firmware = usb_match_manuf_prod(devlist[i], "DreamSourceLab", "DSLogic") has_firmware = usb_match_manuf_prod(devlist[i], "DreamSourceLab", "USB-based Instrument");
|| usb_match_manuf_prod(devlist[i], "DreamSourceLab", "DSCope");
if (has_firmware) { if (has_firmware) {
/* Already has the firmware, so fix the new address. */ /* Already has the firmware, so fix the new address. */