Merge pull request #1067 from Matioupi/master

proposal to fix regression in 4c9fcf86651232c2104b57510a0ac86cf86123e4 #1057
This commit is contained in:
Martin Ling
2022-03-17 23:04:50 +00:00
committed by GitHub

View File

@ -1757,6 +1757,7 @@ static void LIBUSB_CALL hackrf_libusb_transfer_callback(struct libusb_transfer*
}
} else {
transfer_finished(device, usb_transfer);
device->streaming = false;
}
} else if(usb_transfer->status == LIBUSB_TRANSFER_CANCELLED) {
transfer_finished(device, usb_transfer);