]> sigrok.org Git - libsigrok.git/commitdiff
session_file: Start out with SR_ST_INACTIVE like all drivers.
authorUwe Hermann <redacted>
Fri, 7 Jul 2017 21:34:34 +0000 (23:34 +0200)
committerUwe Hermann <redacted>
Sat, 8 Jul 2017 12:25:23 +0000 (14:25 +0200)
src/session_file.c

index 663fea722f9db161eafee3dc5f316809560c785b..2515ca5e7ebc9ab1e5225a7f4c4ec88a94aa9dc5 100644 (file)
@@ -175,7 +175,7 @@ SR_PRIV struct sr_dev_inst *sr_session_prepare_sdi(const char *filename, struct
 
        sdi = g_malloc0(sizeof(struct sr_dev_inst));
        sdi->driver = &session_driver;
-       sdi->status = SR_ST_ACTIVE;
+       sdi->status = SR_ST_INACTIVE;
        if (!session_driver_initialized) {
                /* first device, init the driver */
                session_driver_initialized = 1;