* set OML TEI and E1 timeslot in one command
* introduce new 'oml-tei' command of bs11_config
diff --git a/src/bs11_config.c b/src/bs11_config.c
index 9fadc45..7605d93 100644
--- a/src/bs11_config.c
+++ b/src/bs11_config.c
@@ -92,8 +92,7 @@
abis_nm_bs11_create_envaBTSE(bts, 2);
abis_nm_bs11_create_envaBTSE(bts, 3);
- abis_nm_bs11_conn_oml(bts, 0, 1, 0xff);
- abis_nm_bs11_set_oml_tei(bts, TEI_OML);
+ abis_nm_bs11_conn_oml_tei(bts, 0, 1, 0xff, TEI_OML);
abis_nm_bs11_set_trx_power(&bts->trx[0], BS11_TRX_POWER_GSM_30mW);
@@ -440,6 +439,8 @@
sleep(5);
abis_nm_bs11_factory_logon(g_bts, 0);
command = NULL;
+ } else if (!strcmp(command, "oml-tei")) {
+ abis_nm_bs11_conn_oml_tei(g_bts, 0, 1, 0xff, TEI_OML);
} else if (!strcmp(command, "restart")) {
abis_nm_bs11_restart(g_bts);
command = NULL;