Dear Colleagues,

I have met a problem with a submitted read request – it never ends if there is 
no input data.
When application calls ftdi_transfer_data_done it never returns.
libusb logs indicate that the transfer completes with status word only and then 
unconditionally resubmitted.
Exit from the app with no call to ftdi_transfer_data_done causes random crashes.

Suggested patch implements a cancelation routine and solves the problem I’ve 
described.

Best Regards

Eugene


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Attachment: 0001-Added-ftdi_transfer_data_cancel.patch
Description: Binary data

Reply via email to