mirror of https://gerrit.osmocom.org/libosmocore
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
This commit is contained in:
parent
18e019e896
commit
28a198f9c0
|
@ -203,7 +203,8 @@ static void lapd_start_t200(struct lapd_datalink *dl)
|
|||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue