Change in osmo-sgsn[master]: GMM: permit VLR_ANSWERED event in attach FSM

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Wed Feb 13 13:50:06 UTC 2019


Max has uploaded this change for review. ( https://gerrit.osmocom.org/12895


Change subject: GMM: permit VLR_ANSWERED event in attach FSM
......................................................................

GMM: permit VLR_ANSWERED event in attach FSM

Change-Id: I14d234632224e20faf865d2273c83cfff31abf61
---
M src/gprs/gprs_gmm_attach.c
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/95/12895/1

diff --git a/src/gprs/gprs_gmm_attach.c b/src/gprs/gprs_gmm_attach.c
index 6fdb3af..0a31a47 100644
--- a/src/gprs/gprs_gmm_attach.c
+++ b/src/gprs/gprs_gmm_attach.c
@@ -195,6 +195,9 @@
 		extract_subscr_hlr(ctx);
 		osmo_fsm_inst_state_chg(fi, ST_INIT, 0, 0);
 		break;
+	case E_VLR_ANSWERED:
+		/* FIXME: do we need any special handling for answer in this state? */
+		break;
 	}
 }
 
@@ -295,7 +298,7 @@
 		.action = st_iu_security_cmd,
 	},
 	[ST_ACCEPT] = {
-		.in_event_mask = X(E_ATTACH_COMPLETE_RECV),
+		.in_event_mask = X(E_ATTACH_COMPLETE_RECV) | X(E_VLR_ANSWERED),
 		.out_state_mask = X(ST_INIT) | X(ST_REJECT),
 		.name = "WaitAttachComplete",
 		.onenter = st_accept_on_enter,

-- 
To view, visit https://gerrit.osmocom.org/12895
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I14d234632224e20faf865d2273c83cfff31abf61
Gerrit-Change-Number: 12895
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190213/51bd4694/attachment.htm>


More information about the gerrit-log mailing list