diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-02 04:38:04 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-02 04:38:04 +0800 |
commit | 91a035d2fbdd1f36fcfcb5671b08982baa8d4809 (patch) | |
tree | 6599cdb211907bc650c41e4a247e2a543eeac91f | |
parent | 5ed2e3004bcf1f136256aea76740ae1b4cabb0fa (diff) |
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.
-rw-r--r-- | openbsc/src/bsc_init.c | 4 | ||||
-rw-r--r-- | openbsc/src/input/ipaccess.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c index 757d64158..1c4c829e4 100644 --- a/openbsc/src/bsc_init.c +++ b/openbsc/src/bsc_init.c @@ -469,8 +469,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: @@ -485,6 +483,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: diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c index 8c99157e0..4dba30954 100644 --- a/openbsc/src/input/ipaccess.c +++ b/openbsc/src/input/ipaccess.c @@ -607,7 +607,7 @@ static int ipaccess_fd_cb(struct bsc_fd *bfd, unsigned int what) struct e1inp_driver ipaccess_driver = { .name = "ip.access", .want_write = ts_want_write, - .default_delay = 100000, + .default_delay = 0, }; /* callback of the OML listening filedescriptor */ |