Change in ...osmo-pcu[master]: Use proper API osmo_timer_setup() to set up timer struct

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Sep 5 14:22:18 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/15426


Change subject: Use proper API osmo_timer_setup() to set up timer struct
......................................................................

Use proper API osmo_timer_setup() to set up timer struct

Change-Id: Idd2b0c5247870bee3b3c3e460a6731ee50a47404
---
M src/gprs_bssgp_pcu.cpp
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/26/15426/1

diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index ddf5174..ce56154 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -946,8 +946,7 @@
 
 	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;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/15426
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Idd2b0c5247870bee3b3c3e460a6731ee50a47404
Gerrit-Change-Number: 15426
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190905/8d5e67ad/attachment.htm>


More information about the gerrit-log mailing list