pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-iuh/+/41002?usp=email )


Change subject: ranap: Fix wrong PTMSI vs TMSI field passed during 
ranap_new_msg_paging_cmd()
......................................................................

ranap: Fix wrong PTMSI vs TMSI field passed during ranap_new_msg_paging_cmd()

Change-Id: I3c47cf7d80864bbdd141a9da546c7ad545da1adc
---
M src/ranap_msg_factory.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/02/41002/1

diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c
index 794d82d..1005594 100644
--- a/src/ranap_msg_factory.c
+++ b/src/ranap_msg_factory.c
@@ -544,10 +544,10 @@
                ies.presenceMask |= PAGINGIES_RANAP_TEMPORARYUE_ID_PRESENT;
                if (is_ps) {
                        ies.temporaryUE_ID.present = 
RANAP_TemporaryUE_ID_PR_p_TMSI;
-                       asn1_u32_to_str(&ies.temporaryUE_ID.choice.tMSI, 
tmsi_buf, *tmsi);
+                       asn1_u32_to_str(&ies.temporaryUE_ID.choice.p_TMSI, 
tmsi_buf, *tmsi);
                } else {
                        ies.temporaryUE_ID.present = 
RANAP_TemporaryUE_ID_PR_tMSI;
-                       asn1_u32_to_str(&ies.temporaryUE_ID.choice.p_TMSI, 
tmsi_buf, *tmsi);
+                       asn1_u32_to_str(&ies.temporaryUE_ID.choice.tMSI, 
tmsi_buf, *tmsi);
                }
        }


--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/41002?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I3c47cf7d80864bbdd141a9da546c7ad545da1adc
Gerrit-Change-Number: 41002
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to