]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/api.c
Don't automatically clear known instances from USB drivers on scan
[libsigrok.git] / hardware / hantek-dso / api.c
index e7d9f60b618910febce8225181785f1d3e0507f0..e75eec615fe8cbafd7129d364f5538482e67f867 100644 (file)
@@ -269,13 +269,10 @@ static GSList *hw_scan(GSList *options)
        const char *conn;
 
        drvc = di->priv;
-       drvc->instances = NULL;
 
        devcnt = 0;
        devices = 0;
 
-       clear_instances();
-
        conn = NULL;
        for (l = options; l; l = l->next) {
                src = l->data;