Change in ...osmo-sgsn[master]: gprs_ranap: add missing rc = 0

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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Oct 8 10:41:35 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/15699


Change subject: gprs_ranap: add missing rc = 0
......................................................................

gprs_ranap: add missing rc = 0

After processing the event, set the return code to success.
Thanks to manatails (redmine).

Change-Id: I73b3b3c3dd330bc953835737758854cf68539495
Fixes: #3969
---
M src/sgsn/gprs_ranap.c
1 file changed, 1 insertion(+), 0 deletions(-)



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

diff --git a/src/sgsn/gprs_ranap.c b/src/sgsn/gprs_ranap.c
index 8f45650..fcb9d09 100644
--- a/src/sgsn/gprs_ranap.c
+++ b/src/sgsn/gprs_ranap.c
@@ -149,6 +149,7 @@
 			gsm48_gmm_authorize(mm);
 		else
 			osmo_fsm_inst_dispatch(mm->gmm_att_req.fsm, E_IU_SECURITY_CMD_COMPLETE, NULL);
+		rc = 0;
 		break;
 	default:
 		LOGMMCTXP(LOGL_NOTICE, mm, "Unknown event received: %i\n", type);

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

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I73b3b3c3dd330bc953835737758854cf68539495
Gerrit-Change-Number: 15699
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191008/17f2bdff/attachment.htm>


More information about the gerrit-log mailing list