aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-10-09 18:32:47 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-10-09 18:32:55 +0700
commit0e124d3131a812d39b817daf77bd8d92cfa7068d (patch)
tree183729b847c3bfecc07c42b88289b885fc33612b
parent865bf6f1bffa9be4ab8e84fd1799a2a4a349f9a0 (diff)
gprs_mm_state_iu_fsm.c: fix: assign timer_cb to mm_state_iu_fsmHEADmaster
GCC warns us that 'pmm_state_fsm_timer_cb' is defined but not used. This function was introduced in [1], but was not assigned to the FSM. [1] I66c2ac0350cb074aefd9a22c5121acf723f239d3 Change-Id: Ib040befc87b2676aad2b8fe3671404fb3f5b030b
-rw-r--r--src/sgsn/gprs_mm_state_iu_fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sgsn/gprs_mm_state_iu_fsm.c b/src/sgsn/gprs_mm_state_iu_fsm.c
index e6b80d74..ea319417 100644
--- a/src/sgsn/gprs_mm_state_iu_fsm.c
+++ b/src/sgsn/gprs_mm_state_iu_fsm.c
@@ -140,6 +140,7 @@ struct osmo_fsm mm_state_iu_fsm = {
.states = mm_state_iu_fsm_states,
.num_states = ARRAY_SIZE(mm_state_iu_fsm_states),
.event_names = mm_state_iu_fsm_event_names,
+ .timer_cb = pmm_state_fsm_timer_cb,
.log_subsys = DMM,
};