rigol-ds: After successfully finding a device, close it properly.

This commit is contained in:
Martin Ling 2015-10-24 21:33:34 +01:00 committed by Uwe Hermann
parent d0fa4ac1e7
commit b7b873cea3
1 changed files with 4 additions and 0 deletions

View File

@ -404,6 +404,10 @@ static struct sr_dev_inst *probe_device(struct sr_scpi_dev_inst *scpi)
sdi->priv = devc;
sdi->status = SR_ST_INACTIVE;
sr_scpi_close(scpi);
return sdi;
}