<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11563">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vlr: use unused is_ps parameter in vlr_subscr_req_lu()<br><br>the function vlr_subscr_req_lu() has a parameter is_ps, which is set to<br>vsub->vlr->cfg.is_ps by the only caller in vlr_lu_fsm.c. Inside the<br>function one can see that vsub->vlr->cfg.is_ps is used directly to<br>decide between PS or CS LU, we could also use is_ps there. Presumably<br>the parameter is_ps was intruduced later but changing the function body<br>has been forgotten. Lets update the function body accordingly.<br><br>Change-Id: Idfc925f2cb254d192e86568958b5ecb68fac09da<br>---<br>M src/libvlr/vlr.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-msc refs/changes/63/11563/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libvlr/vlr.c b/src/libvlr/vlr.c</span><br><span>index f7572f2..2409920 100644</span><br><span>--- a/src/libvlr/vlr.c</span><br><span>+++ b/src/libvlr/vlr.c</span><br><span>@@ -622,7 +622,7 @@</span><br><span>       int rc;</span><br><span> </span><br><span>  gsup_msg.message_type = OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST;</span><br><span style="color: hsl(0, 100%, 40%);">- gsup_msg.cn_domain = vsub->vlr->cfg.is_ps ? OSMO_GSUP_CN_DOMAIN_PS : OSMO_GSUP_CN_DOMAIN_CS;</span><br><span style="color: hsl(120, 100%, 40%);">+    gsup_msg.cn_domain = is_ps ? OSMO_GSUP_CN_DOMAIN_PS : OSMO_GSUP_CN_DOMAIN_CS;</span><br><span>        rc = vlr_subscr_tx_gsup_message(vsub, &gsup_msg);</span><br><span> </span><br><span>    return rc;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11563">change 11563</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/11563"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Idfc925f2cb254d192e86568958b5ecb68fac09da </div>
<div style="display:none"> Gerrit-Change-Number: 11563 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>