[PATCH] osmo-bts[master]: Fix debug output

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
Fri Jun 3 11:31:01 UTC 2016


Review at  https://gerrit.osmocom.org/195

Fix debug output

Previously frame number was not saved in case of PRIM_TCH rendering many
debug statements with g_time useless.

Change-Id: Ib8d8c919862d0de8e2ebf7753c2592e0d91b09c5
---
M src/osmo-bts-sysmo/tch.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/95/195/1

diff --git a/src/osmo-bts-sysmo/tch.c b/src/osmo-bts-sysmo/tch.c
index fa21eb5..e08d8a6 100644
--- a/src/osmo-bts-sysmo/tch.c
+++ b/src/osmo-bts-sysmo/tch.c
@@ -567,6 +567,7 @@
 		l1sap = msgb_l1sap_prim(rmsg);
 		osmo_prim_init(&l1sap->oph, SAP_GSM_PH, PRIM_TCH, PRIM_OP_INDICATION, rmsg);
 		l1sap->u.tch.chan_nr = chan_nr;
+		l1sap->u.tch.fn = data_ind->u32Fn;
 
 		return l1sap_up(trx, l1sap);
 	}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8d8c919862d0de8e2ebf7753c2592e0d91b09c5
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list