From a08579dae919b7891d0e6ffe9f6d93951e396cfc Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 16 May 2022 16:12:10 +0100 Subject: [PATCH] ue,rrc_nr: mark is_security_active as true, after updating SK counter. --- srsue/src/stack/rrc_nr/rrc_nr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsue/src/stack/rrc_nr/rrc_nr.cc b/srsue/src/stack/rrc_nr/rrc_nr.cc index 2fd210c04..296d278b1 100644 --- a/srsue/src/stack/rrc_nr/rrc_nr.cc +++ b/srsue/src/stack/rrc_nr/rrc_nr.cc @@ -1021,6 +1021,7 @@ bool rrc_nr::configure_sk_counter(uint16_t sk_counter) if (usim->generate_nr_context(sk_counter, &sec_cfg) == false) { return false; } + security_is_activated = true; return true; }