aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;