From e5d15bd2a2eb8c34ee7bc9db1e70ba0741215097 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 15 Apr 2013 20:05:43 +0200 Subject: [PATCH] ols: Allow configuration before the device is opened --- hardware/openbench-logic-sniffer/api.c | 3 --- 1 file changed, 3 deletions(-) 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);