summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-11-11 16:22:19 +0100
committerAlexander Couzens <lynxis@fe80.eu>2016-11-11 16:22:19 +0100
commit177905b89b12a083092d9ddacff89583ccab689a (patch)
tree5682e44f90aec451f72e01bfa4d9b377a89d187a
parentc4782d489e97231b0d258e3e78e558ae2667aba4 (diff)
abis_om2000: switch superchannel/timeslot between stateslynxis/altcswitch
-rw-r--r--openbsc/src/libbsc/abis_om2000.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_om2000.c b/openbsc/src/libbsc/abis_om2000.c
index 437bd16..ffe6d37 100644
--- a/openbsc/src/libbsc/abis_om2000.c
+++ b/openbsc/src/libbsc/abis_om2000.c
@@ -2102,6 +2102,7 @@ static void om2k_bts_s_init(struct osmo_fsm_inst *fi, uint32_t event, void *data
struct gsm_bts *bts = obfp->bts;
OSMO_ASSERT(event == OM2K_BTS_EVT_START);
+ e1inp_ericsson_set_altc(obfp->bts->oml_link->ts->line, 0);
osmo_fsm_inst_state_chg(fi, OM2K_BTS_S_WAIT_CF,
BTS_FSM_TIMEOUT, 0);
om2k_mo_fsm_start(fi, OM2K_BTS_EVT_CF_DONE, bts->c0,
@@ -2139,6 +2140,7 @@ static void om2k_bts_s_wait_tf(struct osmo_fsm_inst *fi, uint32_t event, void *d
OSMO_ASSERT(event == OM2K_BTS_EVT_TF_DONE);
+ e1inp_ericsson_set_altc(obfp->bts->oml_link->ts->line, 1);
osmo_fsm_inst_state_chg(fi, OM2K_BTS_S_WAIT_TRX,
BTS_FSM_TIMEOUT, 0);
obfp->next_trx_nr = 0;