Commit a2fd924f authored by winckel's avatar winckel

Fixed a build issue without MME option.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5002 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 7176cc24
......@@ -128,11 +128,15 @@ int enb_config_init(char* lib_config_file_name_pP, Enb_properties_t **enb_proper
setting_enb = config_setting_get_elem(setting, i);
if(! config_setting_lookup_int(setting_enb, ENB_CONFIG_STRING_ENB_ID, &enb_id)) {
/* Calculate a default eNB ID */
# if defined(ENABLE_USE_MME)
uint32_t hash;
/* Calculate a default eNB ID */
hash = s1ap_generate_eNB_id ();
enb_id = i + (hash & 0xFFFF8);
# else
enb_id = i;
# endif
}
if( !( config_setting_lookup_string(setting_enb, ENB_CONFIG_STRING_CELL_TYPE, &cell_type)
......
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