]> sigrok.org Git - sigrok-cli.git/commitdiff
fix device-specific options setting
authorBert Vermeulen <redacted>
Fri, 28 Dec 2012 22:42:28 +0000 (23:42 +0100)
committerBert Vermeulen <redacted>
Fri, 28 Dec 2012 22:42:28 +0000 (23:42 +0100)
sigrok-cli.c

index 16e0bee10becd77baa00a08c68853c6b127afb0d..488edc9d4b3d3ff080a77f5577e3c0771c51175d 100644 (file)
@@ -1288,8 +1288,6 @@ static int set_dev_options(struct sr_dev_inst *sdi, GHashTable *args)
                        g_critical("Failed to set device option '%s'.", (char *)key);
                        return ret;
                }
-               else
-                       break;
        }
 
        return SR_OK;