From 8bb2981df075082071b3edf2426a3444109726f0 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 19 Apr 2013 21:19:54 +0200 Subject: [PATCH] victor-dmm: Allow configuration before the device is opened --- hardware/victor-dmm/api.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hardware/victor-dmm/api.c b/hardware/victor-dmm/api.c index 3a3278c7..2222797d 100644 --- a/hardware/victor-dmm/api.c +++ b/hardware/victor-dmm/api.c @@ -262,11 +262,6 @@ static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi) return SR_ERR; } - if (sdi->status != SR_ST_ACTIVE) { - sr_err("Device inactive, can't set config options."); - return SR_ERR; - } - devc = sdi->priv; ret = SR_OK; switch (id) {