diff --git a/host/libraries/libbladeRF/src/async.c b/host/libraries/libbladeRF/src/async.c index 3bfe14523..216f33d5b 100644 --- a/host/libraries/libbladeRF/src/async.c +++ b/host/libraries/libbladeRF/src/async.c @@ -134,9 +134,6 @@ int async_init_stream(struct bladerf_stream **stream, return status; } -/* No device control calls may be made in this function and the associated - * backend stream implementations, as the stream and control functionality - * will generally be executed from separate thread contexts. */ int async_run_stream(struct bladerf_stream *stream, bladerf_module module) { int status; diff --git a/host/libraries/libbladeRF/src/bladerf.c b/host/libraries/libbladeRF/src/bladerf.c index faf921832..128282095 100644 --- a/host/libraries/libbladeRF/src/bladerf.c +++ b/host/libraries/libbladeRF/src/bladerf.c @@ -769,12 +769,10 @@ int bladerf_init_stream(struct bladerf_stream **stream, return status; } -/* Reminder: No device control calls may be made down through bladerf_stream or - * bladerf_submit_stream_buffer here downward, as we can't - * hold the control lock. - */ int bladerf_stream(struct bladerf_stream *stream, bladerf_module module) { + /* Reminder: as we're not holding the control lock, no control calls should + * be made from this point down through the backend code */ return async_run_stream(stream, module); }