[MERGED] osmo-bts[master]: Print FN delta on L1 errors

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

Max gerrit-no-reply at lists.osmocom.org
Mon Jan 8 12:53:40 UTC 2018


Max has submitted this change and it was merged.

Change subject: Print FN delta on L1 errors
......................................................................


Print FN delta on L1 errors

Change-Id: Ieb99c970eafb25b504c2b85221fb12d5a3c39789
---
M src/common/l1sap.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 18aee93..30c2759 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -458,8 +458,8 @@
 	frames_expired = info_time_ind->fn - btsb->gsm_time.fn;
 	if (frames_expired > 1) {
 		LOGP(DL1P, LOGL_ERROR,
-		     "Invalid condition detected: Frame difference is %"PRIu32"-%"PRIu32" > 1!\n",
-	             info_time_ind->fn, btsb->gsm_time.fn);
+		     "Invalid condition detected: Frame difference is %"PRIu32"-%"PRIu32"=%d > 1!\n",
+	             info_time_ind->fn, btsb->gsm_time.fn, frames_expired);
 	}
 
 	/* Update our data structures with the current GSM time */

-- 
To view, visit https://gerrit.osmocom.org/5679
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ieb99c970eafb25b504c2b85221fb12d5a3c39789
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list