Fixed missing reset of do_exit, which prevented calls to callback when thread is created once again.

This commit is contained in:
Vinayak Kariappa Chettimada
2016-04-03 07:36:48 +02:00
parent 3f4d1a44e7
commit 4f9665fb3b

View File

@ -1415,6 +1415,7 @@ static int create_transfer_thread(hackrf_device* device,
if( device->transfer_thread_started == false ) if( device->transfer_thread_started == false )
{ {
device->streaming = false; device->streaming = false;
do_exit = false;
result = prepare_transfers( result = prepare_transfers(
device, endpoint_address, device, endpoint_address,