Commit cc0ccc9a authored by Florian Kaltenberger's avatar Florian Kaltenberger
Browse files

Merge branch 'bugfix-25' into 'develop'

lte-softmodem: fix the wrongly Nid_cell

Make sure that we fetch the cell id from config
file rather than always fix it to 0.
Signed-off-by: default avatarMhd Zaher Mahfouz <>
Signed-off-by: default avatarChun-Yeow Yeoh <>

See merge request !1
parents d3c1a34a bec2b7bb
...@@ -2794,7 +2794,7 @@ int main( int argc, char **argv ) ...@@ -2794,7 +2794,7 @@ int main( int argc, char **argv )
PHY_vars_eNB_g[0] = malloc(sizeof(PHY_VARS_eNB*)); PHY_vars_eNB_g[0] = malloc(sizeof(PHY_VARS_eNB*));
for (CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) { for (CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) {
PHY_vars_eNB_g[0][CC_id] = init_lte_eNB(frame_parms[CC_id],0,Nid_cell,cooperation_flag,transmission_mode,abstraction_flag); PHY_vars_eNB_g[0][CC_id] = init_lte_eNB(frame_parms[CC_id],0,frame_parms[CC_id]->Nid_cell,cooperation_flag,transmission_mode,abstraction_flag);
PHY_vars_eNB_g[0][CC_id]->CC_id = CC_id; PHY_vars_eNB_g[0][CC_id]->CC_id = CC_id;
#ifndef OPENAIR2 #ifndef OPENAIR2
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