<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15628">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bts-trx: trx_set_bts(): Avoid double loop by checking current trx<br><br>check_transceiver_availability() is a loop over every trx, same to what<br>trx_set_bts() does, so let's call the per-trx version directly.<br><br>Change-Id: I8843c1438c6af700631aba7b7e72aae0bdb7ec3a<br>---<br>M src/osmo-bts-trx/l1_if.c<br>1 file changed, 1 insertion(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/28/15628/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c</span><br><span>index cd2a03c..9de0abc 100644</span><br><span>--- a/src/osmo-bts-trx/l1_if.c</span><br><span>+++ b/src/osmo-bts-trx/l1_if.c</span><br><span>@@ -383,9 +383,8 @@</span><br><span>                      l1h->config.bsic_sent = 0;</span><br><span>                        l1if_provision_transceiver_trx(l1h);</span><br><span>                 }</span><br><span style="color: hsl(120, 100%, 40%);">+             check_transceiver_availability_trx(l1h, transceiver_available);</span><br><span>      }</span><br><span style="color: hsl(0, 100%, 40%);">-       check_transceiver_availability(bts, transceiver_available);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> </span><br><span>      return 0;</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/15628">change 15628</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-bts/+/15628"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8843c1438c6af700631aba7b7e72aae0bdb7ec3a </div>
<div style="display:none"> Gerrit-Change-Number: 15628 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>