mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-03 05:55:18 +01:00
Where our callback is called with a status other than COMPLETED, something abnormal has happened and we no longer want to either submit further transfers or await a flush. So clear the streaming and flush flags, and proceed to transfer_finished. Do the same in the case where libusb_submit_transfer fails when called to submit the flush transfer.