diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-09-28 12:36:09 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-10-03 16:30:11 +0200 |
commit | 6722250579246a790364dda033e7879b55ddd340 (patch) | |
tree | 77e0d2cd6b043f9f55888e4bb6fcc9bb68b69a2b /src/osmo-bts-octphy/l1_if.c | |
parent | 1290c52d2b1aa615597c833060a700e963aefca2 (diff) |
Introduce NM Channel FSMpespin/master
Change-Id: I288cbfb4730b25a334ef1c3d6b9679d6f1d4cfc5
Diffstat (limited to 'src/osmo-bts-octphy/l1_if.c')
-rw-r--r-- | src/osmo-bts-octphy/l1_if.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c index 37a3e65c..15353d0c 100644 --- a/src/osmo-bts-octphy/l1_if.c +++ b/src/osmo-bts-octphy/l1_if.c @@ -311,15 +311,10 @@ int l1if_req_compl(struct octphy_hdl *fl1h, struct msgb *msg, /* For OctPHY, this only about sending state changes to BSC */ int l1if_activate_rf(struct gsm_bts_trx *trx, int on) { - int i; if (on) { /* signal availability */ osmo_fsm_inst_dispatch(trx->rc.fi, NM_RCARRIER_EV_SW_ACT, NULL); osmo_fsm_inst_dispatch(trx->bb_transc.fi, NM_BBTRANSC_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 { osmo_fsm_inst_dispatch(trx->rc.fi, NM_RCARRIER_EV_DISABLE, NULL); osmo_fsm_inst_dispatch(trx->bb_transc.fi, NM_BBTRANSC_EV_DISABLE, NULL); |