diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-09-28 12:36:09 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-10-20 13:45:57 +0000 |
commit | 22f59cd63ab7906684ba38e2f617497ec806cca2 (patch) | |
tree | fdf296613fcb97008f4bdd9ec03cfaf69b1419a3 /src/osmo-bts-sysmo/l1_if.c | |
parent | 7810a917331b33b6cfab5259b5fb2df73b27b230 (diff) |
Introduce NM Channel FSM
Change-Id: I288cbfb4730b25a334ef1c3d6b9679d6f1d4cfc5
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.c')
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c index 4d228bb6..2e4765d9 100644 --- a/src/osmo-bts-sysmo/l1_if.c +++ b/src/osmo-bts-sysmo/l1_if.c @@ -1218,7 +1218,6 @@ static int activate_rf_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp, SuperFemto_Prim_t *sysp = msgb_sysprim(resp); GsmL1_Status_t status; int on = 0; - unsigned int i; if (sysp->id == SuperFemto_PrimId_ActivateRfCnf) on = 1; @@ -1243,9 +1242,6 @@ static int activate_rf_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp, /* signal availability */ osmo_fsm_inst_dispatch(trx->mo.fi, NM_EV_SW_ACT, NULL); osmo_fsm_inst_dispatch(trx->bb_transc.mo.fi, NM_EV_SW_ACT, NULL); - - for (i = 0; i < ARRAY_SIZE(trx->ts); i++) - oml_mo_state_chg(&trx->ts[i].mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY); } else { bts_update_status(BTS_STATUS_RF_ACTIVE, 0); osmo_fsm_inst_dispatch(trx->mo.fi, NM_EV_DISABLE, NULL); |