From e37478675383654b98e3ec3d4c67b0b65c6afacb Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 7 Jul 2017 23:34:34 +0200 Subject: [PATCH] session_file: Start out with SR_ST_INACTIVE like all drivers. --- src/session_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session_file.c b/src/session_file.c index 663fea72..2515ca5e 100644 --- a/src/session_file.c +++ b/src/session_file.c @@ -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;