From 24d5b9071c11f4d5e667c8305ca5cbb5e4be829d Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 18 Feb 2021 20:37:30 +0000 Subject: [PATCH] Fix issue with status report test config --- lib/src/upper/pdcp_entity_lte.cc | 2 +- lib/test/upper/pdcp_lte_test_status_report.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/upper/pdcp_entity_lte.cc b/lib/src/upper/pdcp_entity_lte.cc index 9bc0c3b53..eeaea7070 100644 --- a/lib/src/upper/pdcp_entity_lte.cc +++ b/lib/src/upper/pdcp_entity_lte.cc @@ -430,7 +430,7 @@ void pdcp_entity_lte::send_status_report() } if (not cfg.status_report_required) { - logger.info("Trying to send PDCP Status Report and RLC is not AM"); + logger.info("Not sending PDCP Status Report as status report required is not set"); return; } diff --git a/lib/test/upper/pdcp_lte_test_status_report.cc b/lib/test/upper/pdcp_lte_test_status_report.cc index 1cf9159da..6a6930d61 100644 --- a/lib/test/upper/pdcp_lte_test_status_report.cc +++ b/lib/test/upper/pdcp_lte_test_status_report.cc @@ -24,7 +24,7 @@ int test_tx_status_report(const srslte::pdcp_lte_state_t& init_state, srslog::ba srslte::PDCP_SN_LEN_12, srslte::pdcp_t_reordering_t::ms500, srslte::pdcp_discard_timer_t::ms500, - false}; + true}; pdcp_lte_test_helper pdcp_hlp(cfg, sec_cfg, logger); srslte::pdcp_entity_lte* pdcp = &pdcp_hlp.pdcp; @@ -104,7 +104,7 @@ int test_rx_status_report(const srslte::pdcp_lte_state_t& init_state, srslog::ba srslte::PDCP_SN_LEN_12, srslte::pdcp_t_reordering_t::ms500, srslte::pdcp_discard_timer_t::ms500, - false}; + true}; pdcp_lte_test_helper pdcp_hlp(cfg, sec_cfg, logger); srslte::pdcp_entity_lte* pdcp = &pdcp_hlp.pdcp;