ols: Allow configuration before the device is opened

This commit is contained in:
Bert Vermeulen 2013-04-15 20:05:43 +02:00
parent a7be14ada2
commit e5d15bd2a2
1 changed files with 0 additions and 3 deletions

View File

@ -280,9 +280,6 @@ static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi)
devc = sdi->priv;
if (sdi->status != SR_ST_ACTIVE)
return SR_ERR;
switch (id) {
case SR_CONF_SAMPLERATE:
tmp_u64 = g_variant_get_uint64(data);