Fixed linking error with creation of empty dl_mac_config

This commit is contained in:
Xenofon Foukas
2016-03-04 10:54:11 +00:00
parent 06b55e3fba
commit 93b7cf05e8
2 changed files with 4 additions and 3 deletions
@@ -70,7 +70,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
enb_agent_mac_destroy_dl_config(dl_config_elem->dl_info);
free(dl_config_elem);
} else { // next subframe, nothing to do now
enb_agent_create_empty_dl_config(mod_id, dl_info);
enb_agent_mac_create_empty_dl_config(mod_id, dl_info);
return;
}
}
@@ -87,7 +87,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
} else { // Intended for future subframe. Store it in local cache
dl_mac_config_element_t *e = malloc(sizeof(dl_mac_config_element_t));
TAILQ_INSERT_TAIL(&queue_head, e, configs);
enb_agent_create_empty_dl_config(mod_id, dl_info);
enb_agent_mac_create_empty_dl_config(mod_id, dl_info);
// No need to look for another. Messages arrive ordered
return;
}
@@ -95,7 +95,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
}
// We found no pending command, so we will simply pass an empty one
enb_agent_create_empty_dl_config(mod_id, dl_info);
enb_agent_mac_create_empty_dl_config(mod_id, dl_info);
}
int get_sf_difference(mid_t mod_id, uint16_t sfn_sf) {
@@ -45,6 +45,7 @@
#include "ENB_APP/enb_agent_defs.h"
#include "enb_agent_mac.h"
#include "LAYER2/MAC/enb_agent_mac_proto.h"
#include <sys/queue.h>