From a3dfdcb308ca72255819fa4cdb114b85d8c672bc Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Fri, 8 Apr 2016 18:00:39 +0200 Subject: sgsn: Don't send the pdp context accept every time the RAB activates --- openbsc/src/gprs/sgsn_libgtp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c index cdda0ad57..30cb07cc0 100644 --- a/openbsc/src/gprs/sgsn_libgtp.c +++ b/openbsc/src/gprs/sgsn_libgtp.c @@ -426,7 +426,10 @@ int sgsn_ranap_rab_ass_resp(struct sgsn_mm_ctx *ctx, RANAP_RAB_SetupOrModifiedIt } - send_act_pdp_cont_acc(pdp); + if (pdp->state != PDP_STATE_CR_CONF) { + send_act_pdp_cont_acc(pdp); + pdp->state = PDP_STATE_CR_CONF; + } return 0; } -- cgit v1.2.3