]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/ftdi-la/api.c
Don't reset instance list in scan() callback
[libsigrok.git] / src / hardware / ftdi-la / api.c
index 7bf0e13d5a3b077cd57a2e0b2f6d1509fe9fe23a..5f5639f93cee1d7ffe8e773503dff9f9a42ca2dc 100644 (file)
@@ -209,7 +209,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
        int i;
 
        drvc = di->context;
-       drvc->instances = NULL;
        conn = NULL;
        for (l = options; l; l = l->next) {
                src = l->data;