pespin has uploaded this change for review.

View Change

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 change 41002. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I3c47cf7d80864bbdd141a9da546c7ad545da1adc
Gerrit-Change-Number: 41002
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>