Change in osmo-bsc[master]: WIP: debug

pespin gerrit-no-reply at lists.osmocom.org
Thu Apr 15 17:35:16 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/23765 )


Change subject: WIP: debug
......................................................................

WIP: debug

Change-Id: Ib2772b64820d95183353dbb776141ee66a57c221
---
M src/osmo-bsc/bsc_subscr_conn_fsm.c
M src/osmo-bsc/lchan_fsm.c
2 files changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/65/23765/1

diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c
index 5632230..2968080 100644
--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c
+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c
@@ -887,6 +887,8 @@
 			osmo_plmn_from_bcd(TLVP_VAL(tp, GSM0808_IE_LAST_USED_EUTRAN_PLMN_ID), &conn->bsub->last_eutran_plmn);
 			LOGPFSML(fi, LOGL_DEBUG, "subscr comes from E-UTRAN PLMN %s\n",
 				 osmo_plmn_name(&conn->bsub->last_eutran_plmn));
+		} else {
+			LOGPFSML(fi, LOGL_ERROR, "pespin: subscr has no Last used E-UTRAN PLMN!\n");
 		}
 		gscon_update_id(conn);
 		break;
diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index c20e286..f152849 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -1606,8 +1606,12 @@
 	lchan->release.do_rr_release = do_rr_release;
 	lchan->release.rr_cause = cause_rr;
 	if (last_eutran_plmn) {
+		LOGPFSML(lchan->fi, LOGL_DEBUG, "release lchan coming from E-UTRAN PLMN %s\n",
+			 osmo_plmn_name(last_eutran_plmn));
 		lchan->release.has_last_eutran_plmn = true;
 		memcpy(&lchan->release.last_eutran_plmn, last_eutran_plmn, sizeof(*last_eutran_plmn));
+	} else {
+		LOGPFSML(lchan->fi, LOGL_NOTICE, "release lchan has no EUTRAN PLMN!!!!\n");
 	}
 
 	/* States waiting for events will notice the desire to release when done waiting, so it is enough

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/23765
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ib2772b64820d95183353dbb776141ee66a57c221
Gerrit-Change-Number: 23765
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210415/231b17e8/attachment.htm>


More information about the gerrit-log mailing list