]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/ftdi-la/api.c
scan(): Consistently start out with SR_ST_INACTIVE.
[libsigrok.git] / src / hardware / ftdi-la / api.c
index 4d39cd8fac55e6325860dea201f751602d144534..c49c9c7d6ef8a2b5382699b77579eb923ba6a80e 100644 (file)
@@ -148,7 +148,7 @@ static void scan_device(struct sr_dev_driver *di, struct libusb_device *dev, GSL
 
        /* Register the device with libsigrok. */
        sdi = g_malloc0(sizeof(struct sr_dev_inst));
-       sdi->status = SR_ST_INITIALIZING;
+       sdi->status = SR_ST_INACTIVE;
        sdi->vendor = vendor;
        sdi->model = model;
        sdi->serial_num = serial_num;