Commit cc0ccc9a authored by Florian Kaltenberger's avatar Florian Kaltenberger

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 <zaher@tmrnd.com.my>
Signed-off-by: default avatarChun-Yeow Yeoh <yeow@tmrnd.com.my>

See merge request !1
parents d3c1a34a bec2b7bb
......@@ -2794,7 +2794,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