X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Flascar-el-usb%2Fprotocol.c;h=3f9cbc88b65bdf3d5cdfdae31b144ae9fca18657;hb=21d464a7e53efc9ac9810d9301a12b6a56fdb061;hp=09c8089c5fa15d696c422886fce9a913feb0f814;hpb=6078d2c99619233173d4536b74258c15e6be73ba;p=libsigrok.git diff --git a/hardware/lascar-el-usb/protocol.c b/hardware/lascar-el-usb/protocol.c index 09c8089c..3f9cbc88 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); } @@ -660,4 +658,3 @@ SR_PRIV int lascar_stop_logging(const struct sr_dev_inst *sdi) return ret; } -