<p>Neels Hofmeyr has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9283">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">log: assignment: add two logs on unexpected lchan release<br><br>Change-Id: Ib61125ebc41e55dc4a6595db8c8559c62b3ed2c0<br>---<br>M src/libbsc/bsc_api.c<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/83/9283/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c</span><br><span>index 043a5a7..0f2bd12 100644</span><br><span>--- a/src/libbsc/bsc_api.c</span><br><span>+++ b/src/libbsc/bsc_api.c</span><br><span>@@ -777,6 +777,7 @@</span><br><span> </span><br><span>     switch (signal) {</span><br><span>    case S_LCHAN_UNEXPECTED_RELEASE:</span><br><span style="color: hsl(120, 100%, 40%);">+              LOGPLCHAN(lchan, DMSC, LOGL_NOTICE, "S_LCHAN_UNEXPECTED_RELEASE\n");</span><br><span>               handle_release(lchan->conn, bsc, lchan);</span><br><span>          break;</span><br><span>       case S_LCHAN_ACTIVATE_ACK:</span><br><span>@@ -794,6 +795,8 @@</span><br><span>                        struct bsc_api *bsc, struct gsm_lchan *lchan)</span><br><span> {</span><br><span>        if (conn->secondary_lchan == lchan) {</span><br><span style="color: hsl(120, 100%, 40%);">+              LOGPLCHAN(lchan, DMSC, LOGL_NOTICE,</span><br><span style="color: hsl(120, 100%, 40%);">+                     "lchan release on new lchan, Assignment failed\n");</span><br><span>              osmo_timer_del(&conn->T10);</span><br><span>           conn->secondary_lchan = NULL;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9283">change 9283</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/9283"/><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: Ib61125ebc41e55dc4a6595db8c8559c62b3ed2c0 </div>
<div style="display:none"> Gerrit-Change-Number: 9283 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>