gr-osmosdr/lib/bladerf
Jon Szymaniak 542a3dbb2b bladerf: Fixed bug in cached device cleanup
A couple issues were present in bladerf_common::close, which caused
entries in the _devs list (our "device cache") to not be removed. This
would result in a stale device handle being used upon attempting to
reopen the device.

Two issues were associated with this bug:
 - The weak_ptr expired() conditional was incorrect; the logic was
   inverted.
 - The list item removal and iterator increment was done incorrectly
   and would result in a crash after the first item was fixed.
2014-03-10 15:36:59 +01:00
..
CMakeLists.txt bladerf: Added device caching, this enables full-duplex operation. 2013-10-29 23:20:21 +01:00
bladerf_common.cc bladerf: Fixed bug in cached device cleanup 2014-03-10 15:36:59 +01:00
bladerf_common.h bladerf: Updated source/sink to use libbladeRF's sync interface 2014-03-10 15:34:19 +01:00
bladerf_sink_c.cc bladerf: Updated source/sink to use libbladeRF's sync interface 2014-03-10 15:34:19 +01:00
bladerf_sink_c.h bladerf: Updated source/sink to use libbladeRF's sync interface 2014-03-10 15:34:19 +01:00
bladerf_source_c.cc bladerf: Updated source/sink to use libbladeRF's sync interface 2014-03-10 15:34:19 +01:00
bladerf_source_c.h bladerf: Updated source/sink to use libbladeRF's sync interface 2014-03-10 15:34:19 +01:00