From 372a543bf5f2dddcec46c74c2022aef1d4ccdb6b Mon Sep 17 00:00:00 2001 From: Piotr Gawlowicz Date: Tue, 21 Mar 2023 15:47:39 +0100 Subject: [PATCH] e2ap: ric_subscription reschedule only if positive reporting_period --- srsgnb/src/stack/ric/ric_subscription.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srsgnb/src/stack/ric/ric_subscription.cc b/srsgnb/src/stack/ric/ric_subscription.cc index 7d19b4eb4..c425498cb 100644 --- a/srsgnb/src/stack/ric/ric_subscription.cc +++ b/srsgnb/src/stack/ric/ric_subscription.cc @@ -162,7 +162,9 @@ void ric_client::ric_subscription::send_ric_indication() } // reschedule sending RIC indication - reporting_timer.run(); + if (reporting_period) { + reporting_timer.run(); + } } } // namespace srsenb \ No newline at end of file