]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/lecroy-xstream/api.c
sr_dev_open(): Set status to SR_ST_ACTIVE upon success.
[libsigrok.git] / src / hardware / lecroy-xstream / api.c
index 075fff76fb9816d11e5a2ceab2ba83f33167a606..50094a406294355d8071f28c547862728b755ac3 100644 (file)
@@ -141,8 +141,6 @@ static int dev_open(struct sr_dev_inst *sdi)
        if (lecroy_xstream_state_get(sdi) != SR_OK)
                return SR_ERR;
 
-       sdi->status = SR_ST_ACTIVE;
-
        return SR_OK;
 }