From: Bert Vermeulen Date: Mon, 15 Apr 2013 18:05:43 +0000 (+0200) Subject: ols: Allow configuration before the device is opened X-Git-Tag: dsupstream~146 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e5d15bd2a2eb8c34ee7bc9db1e70ba0741215097;p=libsigrok.git ols: Allow configuration before the device is opened --- diff --git a/hardware/openbench-logic-sniffer/api.c b/hardware/openbench-logic-sniffer/api.c index 9b7beb61..0265aee5 100644 --- a/hardware/openbench-logic-sniffer/api.c +++ b/hardware/openbench-logic-sniffer/api.c @@ -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);