Hoernchen has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-msc/+/14448
Change subject: libvlr: fix sgsn tmsi creation
......................................................................
libvlr: fix sgsn tmsi creation
reported by _dev_zero in #osmocom
Change-Id: Ib5679ab5d06b6ef735725b4a68eeb1e9cbcc11ba
---
M src/libvlr/vlr.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/48/14448/1
diff --git a/src/libvlr/vlr.c b/src/libvlr/vlr.c
index 2753096..63f156d 100644
--- a/src/libvlr/vlr.c
+++ b/src/libvlr/vlr.c
@@ -336,7 +336,7 @@
/* Section 2.4 of 23.003: MSC has two MSB 00/01/10, SGSN 11 */
if (vlr->cfg.is_ps) {
/* SGSN */
- tmsi |= 0xC000000;
+ tmsi |= 0xC0000000;
} else {
/* MSC */
if ((tmsi & 0xC0000000) == 0xC0000000)
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14448
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ib5679ab5d06b6ef735725b4a68eeb1e9cbcc11ba
Gerrit-Change-Number: 14448
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <[email protected]>
Gerrit-MessageType: newchange