<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/22692">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">assignment_fsm: assert the result of conn_get_bts()<br><br>Change-Id: I036f2d895e3569bd050ce574759f8371bd19cec9<br>Fixes: CID#216933<br>---<br>M src/osmo-bsc/assignment_fsm.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c</span><br><span>index e5ef1c5..8bb879f 100644</span><br><span>--- a/src/osmo-bsc/assignment_fsm.c</span><br><span>+++ b/src/osmo-bsc/assignment_fsm.c</span><br><span>@@ -231,7 +231,7 @@</span><br><span>  gscon_change_primary_lchan(conn, conn->assignment.new_lchan);</span><br><span>     conn->assignment.new_lchan = NULL;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-       bts = conn_get_bts(conn);</span><br><span style="color: hsl(120, 100%, 40%);">+     OSMO_ASSERT((bts = conn_get_bts(conn)) != NULL);</span><br><span>     if (is_siemens_bts(bts) && ts_is_tch(conn->lchan->ts)) {</span><br><span>               /* HACK: store the actual Classmark 2 LV from the subscriber and use it here! */</span><br><span>             uint8_t cm2_lv[] = { 0x02, 0x00, 0x00 };</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/22692">change 22692</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-bsc/+/22692"/><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-Change-Id: I036f2d895e3569bd050ce574759f8371bd19cec9 </div>
<div style="display:none"> Gerrit-Change-Number: 22692 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>