aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_libgtp.c
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-05-21 00:53:42 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-01 23:44:45 +0200
commit6b7b319d543ad4fb34154725c05fa5976dc2ed6a (patch)
treedbcaaa7f3a981bd18916dbddeebf8be6fe37e7b5 /openbsc/src/gprs/sgsn_libgtp.c
parent61329d45b8560c2575ed51074fa59958ccb1deed (diff)
IuPS: add Iu response to create_pdp_conf()
Diffstat (limited to 'openbsc/src/gprs/sgsn_libgtp.c')
-rw-r--r--openbsc/src/gprs/sgsn_libgtp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c
index 4a14cf611..45eff6376 100644
--- a/openbsc/src/gprs/sgsn_libgtp.c
+++ b/openbsc/src/gprs/sgsn_libgtp.c
@@ -366,6 +366,14 @@ static int create_pdp_conf(struct pdp_t *pdp, void *cbp, int cause)
/* Activate the SNDCP layer */
sndcp_sm_activate_ind(&pctx->mm->gb.llme->lle[pctx->sapi], pctx->nsapi);
return send_act_pdp_cont_acc(pctx);
+ } else if (pctx->mm->ran_type == MM_CTX_T_UTRAN_Iu) {
+#ifdef BUILD_IU
+ /* Activate a radio bearer */
+ iu_rab_act_ps(pdp->nsapi, pctx, 1);
+ return 0;
+#else
+ return -ENOTSUP;
+#endif
}
LOGP(DGPRS, LOGL_ERROR, "Unknown ran_type %d\n",