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

pespin gerrit-no-reply at lists.osmocom.org
Fri Jun 21 13:32:24 UTC 2019


pespin has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/66/14566/1

diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c
index 19dff4f..4019b7c 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=%ld.%06lds)\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: 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/20190621/11ee113f/attachment.html>


More information about the gerrit-log mailing list