<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11905">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bts-trx: early return on POWERON success<br><br>Later on it's expected to add more rsp parsing, so let's return here and<br>not depend on generic return further down.<br><br>Change-Id: I8ddee46374ab329c47dc68e720e236f13d393f66<br>---<br>M src/osmo-bts-trx/trx_if.c<br>1 file changed, 1 insertion(+), 0 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/05/11905/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c</span><br><span>index b048170..abe6846 100644</span><br><span>--- a/src/osmo-bts-trx/trx_if.c</span><br><span>+++ b/src/osmo-bts-trx/trx_if.c</span><br><span>@@ -450,6 +450,7 @@</span><br><span>             if (rsp->status == 0) {</span><br><span>                   if (pinst->phy_link->state != PHY_LINK_CONNECTED)</span><br><span>                              phy_link_state_set(pinst->phy_link, PHY_LINK_CONNECTED);</span><br><span style="color: hsl(120, 100%, 40%);">+                   return 0;</span><br><span>            } else {</span><br><span>                     LOGP(DTRX, LOGL_NOTICE,</span><br><span>                           "transceiver (%s) rejected POWERON command (%d), re-trying in a few seconds\n",</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11905">change 11905</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/11905"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I8ddee46374ab329c47dc68e720e236f13d393f66 </div>
<div style="display:none"> Gerrit-Change-Number: 11905 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>