sgsn: Don't send the pdp context accept every time the RAB activates

This commit is contained in:
Daniel Willmann
2016-04-08 18:00:39 +02:00
parent bae2594424
commit a3dfdcb308

View File

@@ -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;
}