From: Bert Vermeulen Date: Tue, 16 Jul 2013 13:58:46 +0000 (+0200) Subject: lascar-el-usb: Don't close device after acquisition X-Git-Tag: libsigrok-0.2.1~27 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d406dccd6a7486d3a2913338d4d023aa93322de3;p=libsigrok.git lascar-el-usb: Don't close device after acquisition --- diff --git a/hardware/lascar-el-usb/protocol.c b/hardware/lascar-el-usb/protocol.c index 09c8089c..707a3b61 100644 --- a/hardware/lascar-el-usb/protocol.c +++ b/hardware/lascar-el-usb/protocol.c @@ -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); }