summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-01-25 16:53:20 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2016-02-04 15:52:19 +0100
commitcf819ce1868536b37d3bb843cf9a82510f6e27c2 (patch)
tree11b4cef34362c694200032cbbb5d749f40b20f8a
parent98d311e061aff138d1af45e962118c9ee5d4d941 (diff)
sgsn_iu: RABAssignment response is an Outcome, not a Successful one
-rw-r--r--openbsc/src/gprs/sgsn_iu.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/openbsc/src/gprs/sgsn_iu.c b/openbsc/src/gprs/sgsn_iu.c
index 7b8eb0e5d..7ab3c9b4c 100644
--- a/openbsc/src/gprs/sgsn_iu.c
+++ b/openbsc/src/gprs/sgsn_iu.c
@@ -265,10 +265,6 @@ static void cn_ranap_handle_co(void *ctx, ranap_message *message)
break;
case RANAP_RANAP_PDU_PR_successfulOutcome:
switch (message->procedureCode) {
- case RANAP_ProcedureCode_id_RAB_Assignment:
- /* RAB Assignment Response */
- rc = ranap_handle_co_rab_ass_resp(ctx, &message->msg.raB_AssignmentResponseIEs);
- break;
case RANAP_ProcedureCode_id_SecurityModeControl:
/* Security Mode Complete */
break;
@@ -276,8 +272,14 @@ static void cn_ranap_handle_co(void *ctx, ranap_message *message)
/* Iu Release Complete */
break;
}
- case RANAP_RANAP_PDU_PR_unsuccessfulOutcome:
case RANAP_RANAP_PDU_PR_outcome:
+ switch (message->procedureCode) {
+ case RANAP_ProcedureCode_id_RAB_Assignment:
+ /* RAB Assignment Response */
+ rc = ranap_handle_co_rab_ass_resp(ctx, &message->msg.raB_AssignmentResponseIEs);
+ break;
+ }
+ case RANAP_RANAP_PDU_PR_unsuccessfulOutcome:
default:
rc = -1;
break;