oml: Another band aid for reliable BTS init...

Sometimes the operative change for the NSE is getting nacked,
this might be due that we send it before we get the OPSTART ACK
for this object class. Send it from the CELL availability as
a workaround. This init code needs to be changed to make these
dependencies work more reliable.
This commit is contained in:
Holger Hans Peter Freyther 2010-10-02 04:38:04 +08:00
parent d9cdd056ff
commit c7a1a1fd2e
1 changed files with 2 additions and 2 deletions

View File

@ -471,8 +471,6 @@ int nm_state_event(enum nm_evt evt, u_int8_t obj_class, void *obj,
sizeof(nanobts_attr_nse));
abis_nm_opstart(bts, obj_class, bts->bts_nr,
0xff, 0xff);
abis_nm_chg_adm_state(bts, obj_class, bts->bts_nr,
0xff, 0xff, NM_STATE_UNLOCKED);
}
break;
case NM_OC_GPRS_CELL:
@ -487,6 +485,8 @@ int nm_state_event(enum nm_evt evt, u_int8_t obj_class, void *obj,
0, 0xff);
abis_nm_chg_adm_state(bts, obj_class, bts->bts_nr,
0, 0xff, NM_STATE_UNLOCKED);
abis_nm_chg_adm_state(bts, NM_OC_GPRS_NSE, bts->bts_nr,
0xff, 0xff, NM_STATE_UNLOCKED);
}
break;
case NM_OC_GPRS_NSVC: