diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-02-28 22:46:29 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-28 23:18:09 +0100 |
commit | b1b11620191d14943303a5104d845295f74750e8 (patch) | |
tree | d82d0f061180e1193e7fb9be896211c7d6d06d89 /src/host/trxcon/trx_if.c | |
parent | 6fa80f274ed932b8142a9f04a652820b135483e7 (diff) |
trxcon: Define event names for osmo_fsm's
Change-Id: Id3279e99966a0ab236923c497ac0abbc9ed2c93c
Diffstat (limited to 'src/host/trxcon/trx_if.c')
-rw-r--r-- | src/host/trxcon/trx_if.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/host/trxcon/trx_if.c b/src/host/trxcon/trx_if.c index 6ee75d3e..98e3cdd4 100644 --- a/src/host/trxcon/trx_if.c +++ b/src/host/trxcon/trx_if.c @@ -45,6 +45,10 @@ #include "logging.h" #include "scheduler.h" +static struct value_string trx_evt_names[] = { + { 0, NULL } /* no events? */ +}; + static struct osmo_fsm_state trx_fsm_states[] = { [TRX_STATE_OFFLINE] = { .out_state_mask = ( @@ -76,6 +80,7 @@ static struct osmo_fsm trx_fsm = { .states = trx_fsm_states, .num_states = ARRAY_SIZE(trx_fsm_states), .log_subsys = DTRX, + .event_names = trx_evt_names, }; static int trx_udp_open(void *priv, struct osmo_fd *ofd, const char *host, |