Commit 00b15882 authored by Xenofon Foukas's avatar Xenofon Foukas

Fixed bug in UE configuration message

parent e1d1b0ba
...@@ -1197,7 +1197,7 @@ int enb_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Progra ...@@ -1197,7 +1197,7 @@ int enb_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Progra
goto error; goto error;
} }
for (i = 0; i < ue_config_reply_msg->n_ue_config; i++) { for (i = 0; i < ue_config_reply_msg->n_ue_config; i++) {
ue_config[i] = malloc(sizeof(Protocol__PrpUeConfig *)); ue_config[i] = malloc(sizeof(Protocol__PrpUeConfig));
protocol__prp_ue_config__init(ue_config[i]); protocol__prp_ue_config__init(ue_config[i]);
//TODO: Set the RNTI of the ue with id i //TODO: Set the RNTI of the ue with id i
ue_config[i]->rnti = get_ue_crnti(mod_id,i); ue_config[i]->rnti = get_ue_crnti(mod_id,i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment