diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-05 16:21:04 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-05 16:21:49 +0200 |
commit | a8892a69b32e46e21b0dae18b7c463d45377f60a (patch) | |
tree | c4c127eaeeb3a6f3af1c701e79e4830bfe687804 /src | |
parent | ef1fe58e199252dd6995d41c019a2b4274ae61dc (diff) |
Use proper API osmo_timer_setup() to set up timer struct
Change-Id: Idd2b0c5247870bee3b3c3e460a6731ee50a47404
Diffstat (limited to 'src')
-rw-r--r-- | src/gprs_bssgp_pcu.cpp | 3 |
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; } |