]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/gwinstek-gds-800/api.c
scpi: Move closing of discovered devices to sr_scpi_scan_resource().
[libsigrok.git] / src / hardware / gwinstek-gds-800 / api.c
index 4f384aa2923e958d81a4b4fb3ad037157f86da1c..cfec15ee2236381c48af3d64bf4ed46ad0585270 100644 (file)
@@ -57,7 +57,6 @@ static struct sr_dev_inst *probe_device(struct sr_scpi_dev_inst *scpi)
        }
 
        sdi = g_malloc0(sizeof(struct sr_dev_inst));
-       sdi->status = SR_ST_ACTIVE;
        sdi->vendor = g_strdup(hw_info->manufacturer);
        sdi->model = g_strdup(hw_info->model);
        sdi->version = g_strdup(hw_info->firmware_version);