<p>Neels Hofmeyr has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11309">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gscon_forget_lchan(): no Clear Request after Clear Command<br><br>Send a BSSMAP Clear Request only if we are not already in ST_CLEARING, i.e.<br>haven't received a BSSMAP Clear Command yet.<br><br>Related: osmo-ttcn3-hacks If772dbbc5f9790d3f911465e1303dd0a99811154<br>Change-Id: Idc749068580da45e821e0af04cfa14cc7ce5c432<br>---<br>M src/osmo-bsc/bsc_subscr_conn_fsm.c<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/09/11309/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c</span><br><span>index 32375d4..3c9be56 100644</span><br><span>--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c</span><br><span>+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c</span><br><span>@@ -644,7 +644,9 @@</span><br><span>           conn->ho.new_lchan = NULL;</span><br><span>        if (conn->lchan == lchan)</span><br><span>                 conn->lchan = NULL;</span><br><span style="color: hsl(0, 100%, 40%);">-  if (!conn->lchan)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+        if (conn->fi->state != ST_CLEARING</span><br><span style="color: hsl(120, 100%, 40%);">+          && !conn->lchan)</span><br><span>              gscon_bssmap_clear(conn, GSM0808_CAUSE_EQUIPMENT_FAILURE);</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11309">change 11309</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/11309"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Idc749068580da45e821e0af04cfa14cc7ce5c432 </div>
<div style="display:none"> Gerrit-Change-Number: 11309 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>