Commit bec2b7bb authored by Chun-Yeow's avatar Chun-Yeow
Browse files

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 <zaher@tmrnd.com.my>
Signed-off-by: default avatarChun-Yeow Yeoh <yeow@tmrnd.com.my>
parent a3b5d7b2
......@@ -2770,7 +2770,7 @@ int main( int argc, char **argv )
PHY_vars_eNB_g[0] = malloc(sizeof(PHY_VARS_eNB*));
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;
#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