WIP: delay l1if_reset() until OML link is established
This commit is contained in:
parent
654d663bde
commit
e1f4c39351
|
@ -176,7 +176,7 @@ int bts_link_estab(struct gsm_bts *bts)
|
|||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
return bts_model_oml_estab(bts);
|
||||
}
|
||||
|
||||
/* RSL link is established, send status report */
|
||||
|
|
|
@ -73,13 +73,20 @@ int bts_model_init(struct gsm_bts *bts)
|
|||
bts->c0->role_bts.l1h = fl1h;
|
||||
bts->c0->nominal_power = 23;
|
||||
|
||||
l1if_reset(fl1h);
|
||||
|
||||
bts_model_vty_init(bts);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int bts_model_oml_estab(struct gsm_bts *bts)
|
||||
{
|
||||
struct femtol1_hdl *fl1h = bts->c0->role_bts.l1h;
|
||||
|
||||
l1if_reset(fl1h);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void print_help()
|
||||
{
|
||||
printf( "Some useful options:\n"
|
||||
|
|
Loading…
Reference in New Issue