aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-05-21 00:55:25 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-01 23:44:45 +0200
commit7bc6986f6babdaf5f2436dae2f603ae5823aa7b4 (patch)
treebd0086f5453b013e74c8a1f6f195564826741012 /openbsc/src/gprs
parent6b7b319d543ad4fb34154725c05fa5976dc2ed6a (diff)
IuPS: add Iu response to delete_pdp_conf()
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r--openbsc/src/gprs/sgsn_libgtp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c
index 45eff6376..35d5dab3d 100644
--- a/openbsc/src/gprs/sgsn_libgtp.c
+++ b/openbsc/src/gprs/sgsn_libgtp.c
@@ -485,6 +485,13 @@ static int delete_pdp_conf(struct pdp_t *pdp, void *cbp, int cause)
if (pctx->mm->ran_type == MM_CTX_T_GERAN_Gb) {
/* Deactivate the SNDCP layer */
sndcp_sm_deactivate_ind(&pctx->mm->gb.llme->lle[pctx->sapi], pctx->nsapi);
+ } else {
+#ifdef BUILD_IU
+ /* Deactivate radio bearer */
+ iu_rab_deact(pctx->mm->iu.ue_ctx, 1);
+#else
+ return -ENOTSUP;
+#endif
}
/* Confirm deactivation of PDP context to MS */