<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15438">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CBSP: Fix receive templates if channel_ind == omit<br><br>Change-Id: I6e15a7499b5da6f63a517f303576a877ea038788<br>---<br>M library/CBSP_Templates.ttcn<br>1 file changed, 9 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/38/15438/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/CBSP_Templates.ttcn b/library/CBSP_Templates.ttcn</span><br><span>index 2283e6f..7c73d7c 100644</span><br><span>--- a/library/CBSP_Templates.ttcn</span><br><span>+++ b/library/CBSP_Templates.ttcn</span><br><span>@@ -375,7 +375,9 @@</span><br><span>    } else if (not istemplatekind(cell_list, "omit")) {</span><br><span>                ies[lengthof(ies)] := tr_CbspCellList(cell_list);</span><br><span>    }</span><br><span style="color: hsl(0, 100%, 40%);">-       ies[lengthof(ies)] := tr_CbspChannelInd(channel_ind);</span><br><span style="color: hsl(120, 100%, 40%);">+ if (not istemplatekind(channel_ind, "omit")) {</span><br><span style="color: hsl(120, 100%, 40%);">+              ies[lengthof(ies)] := tr_CbspChannelInd(channel_ind);</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span>    return tr_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies);</span><br><span> }</span><br><span> </span><br><span>@@ -416,7 +418,9 @@</span><br><span>   } else if (not istemplatekind(cell_list, "omit")) {</span><br><span>                ies[lengthof(ies)] := tr_CbspCellList(cell_list);</span><br><span>    }</span><br><span style="color: hsl(0, 100%, 40%);">-       ies[lengthof(ies)] := tr_CbspChannelInd(channel_ind);</span><br><span style="color: hsl(120, 100%, 40%);">+ if (not istemplatekind(channel_ind, "omit")) {</span><br><span style="color: hsl(120, 100%, 40%);">+              ies[lengthof(ies)] := tr_CbspChannelInd(channel_ind);</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span>    return tr_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies);</span><br><span> }</span><br><span> </span><br><span>@@ -467,7 +471,9 @@</span><br><span>   } else if (not istemplatekind(cell_list, "omit")) {</span><br><span>                ies[lengthof(ies)] := tr_CbspCellList(cell_list);</span><br><span>    }</span><br><span style="color: hsl(0, 100%, 40%);">-       ies[lengthof(ies)] := ts_CbspChannelInd(channel_ind);</span><br><span style="color: hsl(120, 100%, 40%);">+ if (not istemplatekind(channel_ind, "omit")) {</span><br><span style="color: hsl(120, 100%, 40%);">+              ies[lengthof(ies)] := ts_CbspChannelInd(channel_ind);</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span>    return tr_CBSP(CBSP_MSGT_WRITE_REPLACE_FAIL, ies);</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15438">change 15438</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-ttcn3-hacks/+/15438"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6e15a7499b5da6f63a517f303576a877ea038788 </div>
<div style="display:none"> Gerrit-Change-Number: 15438 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>