<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/18912">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bts_shutdown: First deact RF on all TRX, finally close them<br><br>It makes more sense to first deactive RF on all TRX and finally close<br>them totally. This way we keep consistency between all TRXs and it's<br>easier for lower layers which may need to close them all at once. Also<br>in the event that we want to turn bts_model_trx_deact_rf to return<br>asynchronously.<br><br>Change-Id: Ib62358384e37a5cef692926439462042fab0138c<br>---<br>M src/common/bts_shutdown_fsm.c<br>1 file changed, 2 insertions(+), 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/12/18912/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/bts_shutdown_fsm.c b/src/common/bts_shutdown_fsm.c</span><br><span>index df22284..6fddcc0 100644</span><br><span>--- a/src/common/bts_shutdown_fsm.c</span><br><span>+++ b/src/common/bts_shutdown_fsm.c</span><br><span>@@ -93,6 +93,8 @@</span><br><span>    struct gsm_bts_trx *trx;</span><br><span>     llist_for_each_entry_reverse(trx, &bts->trx_list, list) {</span><br><span>             bts_model_trx_deact_rf(trx);</span><br><span style="color: hsl(120, 100%, 40%);">+  }</span><br><span style="color: hsl(120, 100%, 40%);">+     llist_for_each_entry_reverse(trx, &bts->trx_list, list) {</span><br><span>             bts_model_trx_close(trx);</span><br><span>    }</span><br><span>    /* There's yet no way to get confirmation from lower layers regarding</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/18912">change 18912</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/+/18912"/><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: Ib62358384e37a5cef692926439462042fab0138c </div>
<div style="display:none"> Gerrit-Change-Number: 18912 </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>