Change in ...libosmocore[master]: gsm: lapd_core: Log timeout used upon start of T200

laforge gerrit-no-reply at lists.osmocom.org
Fri Jun 21 17:31:09 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/libosmocore/+/14566 )

Change subject: gsm: lapd_core: Log timeout used upon start of T200
......................................................................

gsm: lapd_core: Log timeout used upon start of T200

The timeout is calculated dynamically in t200_by_lchan() based on FN
advance value estimated by bts_get_avg_fn_advance(), so it's informative
to have the final value printed out.

Change-Id: Ib50a9c23de881c66c9218833703cc41101e06bfd
---
M src/gsm/lapd_core.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c
index 19dff4f..a0f3c2b 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -203,7 +203,8 @@
 {
 	if (osmo_timer_pending(&dl->t200))
 		return;
-	LOGP(DLLAPD, LOGL_INFO, "start T200 (dl=%p)\n", dl);
+	LOGP(DLLAPD, LOGL_INFO, "start T200 (dl=%p, timeout=%d.%06ds)\n",
+	     dl, dl->t200_sec, dl->t200_usec);
 	osmo_timer_schedule(&dl->t200, dl->t200_sec, dl->t200_usec);
 }
 

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ib50a9c23de881c66c9218833703cc41101e06bfd
Gerrit-Change-Number: 14566
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
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/20190621/cbcd36d2/attachment.html>


More information about the gerrit-log mailing list