lascar-el-usb: Don't close device after acquisition

This commit is contained in:
Bert Vermeulen 2013-07-16 15:58:46 +02:00
parent 85ed4ab3ba
commit d406dccd6a
1 changed files with 0 additions and 2 deletions

View 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++) for (i = 0; devc->usbfd[i] != -1; i++)
sr_source_remove(devc->usbfd[i]); sr_source_remove(devc->usbfd[i]);
sdi->driver->dev_close(sdi);
packet.type = SR_DF_END; packet.type = SR_DF_END;
sr_session_send(cb_data, &packet); sr_session_send(cb_data, &packet);
} }