aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-02 04:38:04 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-12-21 13:53:41 +0100
commitc7a1a1fd2e4d5a25c375b62737272553fc6ae5ff (patch)
tree4cdda51088439f9c36a332dff50ea3187cb9c4fd
parentd9cdd056ff2c90add8e7b45e7be5b50527388a0d (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index 4f7e29c01..7a08e27d4 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -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: