]> sigrok.org Git - libsigrok.git/commitdiff
lascar-el-usb: Don't close device after acquisition
authorBert Vermeulen <redacted>
Tue, 16 Jul 2013 13:58:46 +0000 (15:58 +0200)
committerBert Vermeulen <redacted>
Tue, 16 Jul 2013 14:08:38 +0000 (16:08 +0200)
hardware/lascar-el-usb/protocol.c

index 09c8089c5fa15d696c422886fce9a913feb0f814..707a3b619e4c7aaa56516f994f06ffaa26e09c8c 100644 (file)
@@ -505,8 +505,6 @@ SR_PRIV int lascar_el_usb_handle_events(int fd, int revents, void *cb_data)
                for (i = 0; devc->usbfd[i] != -1; i++)
                        sr_source_remove(devc->usbfd[i]);
 
-               sdi->driver->dev_close(sdi);
-
                packet.type = SR_DF_END;
                sr_session_send(cb_data, &packet);
        }