<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25003">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RES IND: tweak error code on missing Resource Information IE<br><br>If the RES IND message is invalid, let's not return ENOENT which<br>translates to "No such file or directory", instead return EINVAL.<br><br>Related: SYS#5313<br>Change-Id: Ifd700e90c881874d428f2860603a4ddbf13d705e<br>---<br>M src/osmo-bsc/abis_rsl.c<br>1 file changed, 1 insertion(+), 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/03/25003/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c</span><br><span>index b491285..ed45c64 100644</span><br><span>--- a/src/osmo-bsc/abis_rsl.c</span><br><span>+++ b/src/osmo-bsc/abis_rsl.c</span><br><span>@@ -1495,7 +1495,7 @@</span><br><span>        res_info_ie = TLVP_GET(&tp, RSL_IE_RESOURCE_INFO);</span><br><span>       if (!res_info_ie) {</span><br><span>          LOGP(DRSL, LOGL_ERROR, "Rx Resource Indication: missing Resource Info IE\n");</span><br><span style="color: hsl(0, 100%, 40%);">-         return -ENOENT;</span><br><span style="color: hsl(120, 100%, 40%);">+               return -EINVAL;</span><br><span>      }</span><br><span> </span><br><span>        /* The IE value is defined in 3GPP TS 48.058 9.3.21 Resource Information:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25003">change 25003</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/+/25003"/><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: Ifd700e90c881874d428f2860603a4ddbf13d705e </div>
<div style="display:none"> Gerrit-Change-Number: 25003 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>