e2ap: clean e2ap_.process_subscription_request

master
Piotr Gawlowicz 2 years ago committed by Justin Tallon
parent 9ea0f2684a
commit 5e4e13df09

@ -163,14 +163,7 @@ int e2ap::process_setup_response(e2setup_resp_s setup_response)
int e2ap::process_subscription_request(ricsubscription_request_s subscription_request)
{
pending_subscription_request = true;
uint16_t ran_func_id = subscription_request->ra_nfunction_id->value;
if (ran_functions.count(ran_func_id)) {
// TODO handle RIC subscription request
}
// TODO handle RIC subscription request
// TODO: this function seems to be not needed
return 0;
}

@ -24,8 +24,6 @@ ric_client::ric_subscription::ric_subscription(ric_client* ric_cli
{
reporting_timer = parent->task_sched.get_unique_timer();
parent->e2ap_.process_subscription_request(ric_subscription_request);
RANfunction_description ran_func_desc;
if (!parent->e2ap_.get_func_desc(ra_nfunction_id, ran_func_desc)) {
parent->logger.debug("Cannot find RAN function with ID: %i\n", ra_nfunction_id);

Loading…
Cancel
Save