aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-omldummy
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-04-11 14:50:12 +0000
committerNeels Hofmeyr <neels@hofmeyr.de>2021-04-11 14:50:12 +0000
commit6cf8c691e226410b341fa9ce5ce209fd918b3073 (patch)
tree892e7bedb8098f74df0f19cd6867d348229afc3b /src/osmo-bts-omldummy
parentdeac00dc80bb0a076ac5524cc935aecc14832251 (diff)
vamos wip
Diffstat (limited to 'src/osmo-bts-omldummy')
-rw-r--r--src/osmo-bts-omldummy/bts_model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osmo-bts-omldummy/bts_model.c b/src/osmo-bts-omldummy/bts_model.c
index 5624fc1a..307da03f 100644
--- a/src/osmo-bts-omldummy/bts_model.c
+++ b/src/osmo-bts-omldummy/bts_model.c
@@ -76,7 +76,8 @@ static uint8_t vbts_set_bts(struct gsm_bts *bts)
llist_for_each_entry(trx, &bts->trx_list, list) {
/* report availability of trx to the bts. this will trigger the rsl connection */
- osmo_fsm_inst_dispatch(trx->mo.fi, NM_EV_SW_ACT, NULL);
+ if (trx->mo.fi)
+ 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);
}
return 0;