From 21ff70e84ffe41220b274ec756e54d33c05ea281 Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Sat, 13 Feb 2021 16:14:54 +0100 Subject: [PATCH] hack: put back a hack that seems necessary for NR rfsim tests in the CI go figure... --- openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c b/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c index 4c61596f17..f14d25b145 100644 --- a/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c +++ b/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c @@ -650,8 +650,10 @@ static void add_drb(int is_gnb, int rnti, struct NR_DRB_ToAddMod *s, ciphering_key, integrity_key); break; case NR_RLC_Config_PR_um_Bi_Directional: - LOG_E(PDCP, "%s:%d:%s: TODO\n", __FILE__, __LINE__, __FUNCTION__); - exit(1); + //add_drb_um(rnti, s); + /* hack */ + add_drb_am(is_gnb, rnti, s, ciphering_algorithm, integrity_algorithm, + ciphering_key, integrity_key); break; default: LOG_E(PDCP, "%s:%d:%s: fatal: unhandled DRB type\n",