aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-05 16:21:04 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-09-05 16:21:49 +0200
commita8892a69b32e46e21b0dae18b7c463d45377f60a (patch)
treec4c127eaeeb3a6f3af1c701e79e4830bfe687804
parentef1fe58e199252dd6995d41c019a2b4274ae61dc (diff)
Use proper API osmo_timer_setup() to set up timer struct
-rw-r--r--src/gprs_bssgp_pcu.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index ddf51748..ce561542 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -946,8 +946,7 @@ struct gprs_bssgp_pcu *gprs_bssgp_create_and_connect(struct gprs_rlcmac_bts *bts
osmo_signal_register_handler(SS_L_NS, nsvc_signal_cb, NULL);
- the_pcu.bvc_timer.cb = bvc_timeout;
-
+ osmo_timer_setup(&the_pcu.bvc_timer, bvc_timeout, NULL);
return &the_pcu;
}