<p>pespin <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/16847">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">lms: Change radioDevice constructor arg name to avoid masking instance attr<br><br>channel number mangling based on multi-arfcn feature being enabled was<br>moved to generic radioDevice() to reuse code. Hence, the generic parent<br>constructor sets this->chans to 1 if multi-arfcn feature is requested.<br>However, LMSDevice constructor argument had same name as the class<br>instance attribute, taking preference. As a result, if multi-arfcn is<br>enabled in LMSDevice, the generic constructor first sets this->chans=1<br>but afterwards LMSDEvice constructor keeps calling .resize() with the<br>argument value "chans" instead of using this->chans.<br><br>Let's rename the argument in all radioDevice child class constructors to<br>avoid potential future bugs in all of them.<br><br>Change-Id: Id6c837e9133f22783dd92a81dfcc493e51bf2d21<br>---<br>M Transceiver52M/device/lms/LMSDevice.cpp<br>M Transceiver52M/device/lms/LMSDevice.h<br>M Transceiver52M/device/uhd/UHDDevice.cpp<br>M Transceiver52M/device/uhd/UHDDevice.h<br>M Transceiver52M/device/usrp1/USRPDevice.cpp<br>M Transceiver52M/device/usrp1/USRPDevice.h<br>6 files changed, 9 insertions(+), 9 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/47/16847/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/16847">change 16847</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-trx/+/16847"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id6c837e9133f22783dd92a81dfcc493e51bf2d21 </div>
<div style="display:none"> Gerrit-Change-Number: 16847 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>