osmo-trx/Transceiver52M/device/uhd
Pau Espin b0e54265ad lms: Change radioDevice constructor arg name to avoid masking instance attr
channel number mangling based on multi-arfcn feature being enabled was
moved to generic radioDevice() to reuse code. Hence, the generic parent
constructor sets this->chans to 1 if multi-arfcn feature is requested.
However, LMSDevice constructor argument had same name as the class
instance attribute, taking preference. As a result, if multi-arfcn is
enabled in LMSDevice, the generic constructor first sets this->chans=1
but afterwards LMSDEvice constructor keeps calling .resize() with the
argument value "chans" instead of using this->chans.

Let's rename the argument in all radioDevice child class constructors to
avoid potential future bugs in all of them.

Change-Id: Id6c837e9133f22783dd92a81dfcc493e51bf2d21
2020-01-13 16:13:28 +01:00
..
Makefile.am smpl_buf: Move it to device/common and create libdevice_common.la 2019-05-06 11:23:18 +02:00
UHDDevice.cpp lms: Change radioDevice constructor arg name to avoid masking instance attr 2020-01-13 16:13:28 +01:00
UHDDevice.h lms: Change radioDevice constructor arg name to avoid masking instance attr 2020-01-13 16:13:28 +01:00