aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gprs_sgsn.c
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-04-19 20:04:00 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2016-04-19 20:04:00 +0200
commit444a516f18a7a2073b26f9d01e754853015c178e (patch)
tree6f77883397aaeec668190c253957a4396fc4d6ac /openbsc/src/gprs/gprs_sgsn.c
parent0f3bce4aef1bcbf384fa1c5ae2b24c5b0d6fc13b (diff)
gprs: Keep track of key negotiation and set the key status flag in sec_mod_cmd
Diffstat (limited to 'openbsc/src/gprs/gprs_sgsn.c')
-rw-r--r--openbsc/src/gprs/gprs_sgsn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c
index 8c188bf59..76ddd9199 100644
--- a/openbsc/src/gprs/gprs_sgsn.c
+++ b/openbsc/src/gprs/gprs_sgsn.c
@@ -209,6 +209,7 @@ struct sgsn_mm_ctx *sgsn_mm_ctx_alloc_iu(void *uectx)
ctx->ran_type = MM_CTX_T_UTRAN_Iu;
ctx->iu.ue_ctx = uectx;
ctx->iu.rab_id = 1;
+ ctx->iu.new_key = 1;
ctx->mm_state = GMM_DEREGISTERED;
ctx->auth_triplet.key_seq = GSM_KEY_SEQ_INVAL;
ctx->ctrg = rate_ctr_group_alloc(ctx, &mmctx_ctrg_desc, 0);