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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Sep 6 19:01:06 UTC 2019


laforge has submitted this change and it was merged. ( 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(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190906/d1e52139/attachment.htm>


More information about the gerrit-log mailing list