pespin has uploaded this change for review.

View Change

subscriber: Fix condition to print PTMSI signature

Related: Coverity CID#316085
Change-Id: Ie9259141290200544981e815f4a1486584373014
---
M src/host/layer23/src/common/subscriber.c
1 file changed, 11 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/07/33007/1
diff --git a/src/host/layer23/src/common/subscriber.c b/src/host/layer23/src/common/subscriber.c
index b4213c8..78b1be0 100644
--- a/src/host/layer23/src/common/subscriber.c
+++ b/src/host/layer23/src/common/subscriber.c
@@ -496,7 +496,7 @@
(subscr->gprs.imsi_attached) ? "attached" : "detached");
if (subscr->gprs.ptmsi != GSM_RESERVED_TMSI)
print(priv, " PTMSI 0x%08x", subscr->tmsi);
- if (subscr->gprs.ptmsi != GSM_RESERVED_TMSI)
+ if (subscr->gprs.ptmsi_sig != GSM_RESERVED_TMSI)
print(priv, " PTMSI-sig 0x%06x", subscr->gprs.ptmsi_sig);
if (subscr->gprs.rai.lac > 0x0000 && subscr->gprs.rai.lac < 0xfffe) {
struct osmo_plmn_id plmn = {

To view, visit change 33007. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ie9259141290200544981e815f4a1486584373014
Gerrit-Change-Number: 33007
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange