victor-dmm: Allow configuration before the device is opened

This commit is contained in:
Bert Vermeulen 2013-04-19 21:19:54 +02:00
parent 522a34343f
commit 8bb2981df0
1 changed files with 0 additions and 5 deletions

View File

@ -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) {