dslogic: Updated matching of device with loaded firmware

This commit is contained in:
Joel Holdsworth 2017-06-13 12:07:00 -06:00 提交者 Uwe Hermann
父節點 84f6d40a11
當前提交 3c749da174
共有 1 個檔案被更改,包括 1 行新增2 行删除

查看文件

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