summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-04-08 18:00:39 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2016-04-08 18:04:04 +0200
commita3dfdcb308ca72255819fa4cdb114b85d8c672bc (patch)
tree2617cd156adee57ade178715ac10c22a712585b7 /openbsc
parentbae25944247513cbed329ba6d2997412593e981b (diff)
sgsn: Don't send the pdp context accept every time the RAB activates
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/gprs/sgsn_libgtp.c5
1 files changed, 4 insertions, 1 deletions
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;
}