<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21921">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">smscb: Fix adding of SMSCB messages when no message with lower period exists<br><br>Adding SMSCB messages to a BTS so far only worked if there were<br>existing messages with a lower scheduling period than the new message.<br><br>Before this patch, it fails for new messages if they are of equal or<br>lower scheduling period than the existing messages.<br><br>Change-Id: I69a05b22200b3a1ee406b0673553e135603d723b<br>---<br>M src/osmo-bsc/smscb.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-bsc refs/changes/21/21921/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/smscb.c b/src/osmo-bsc/smscb.c</span><br><span>index 8ce962a..59f917b 100644</span><br><span>--- a/src/osmo-bsc/smscb.c</span><br><span>+++ b/src/osmo-bsc/smscb.c</span><br><span>@@ -110,6 +110,8 @@</span><br><span>                     return;</span><br><span>              }</span><br><span>    }</span><br><span style="color: hsl(120, 100%, 40%);">+     /* we didn't find any messages with longer period than us, inert us at tail */</span><br><span style="color: hsl(120, 100%, 40%);">+    llist_add_tail(&new->list, &cstate->messages);</span><br><span> }</span><br><span> </span><br><span> /* stringify a SMSCB for logging */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21921">change 21921</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/+/21921"/><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: I69a05b22200b3a1ee406b0673553e135603d723b </div>
<div style="display:none"> Gerrit-Change-Number: 21921 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>