[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
Mon Jun 13 10:13:23 UTC 2016


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

Fix debug output

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

Copy-paste from ef30f50d5d6d5f863fc147d05ccdceb89284934e.

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


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

diff --git a/src/osmo-bts-litecell15/tch.c b/src/osmo-bts-litecell15/tch.c
index 15ad456..245c19a 100644
--- a/src/osmo-bts-litecell15/tch.c
+++ b/src/osmo-bts-litecell15/tch.c
@@ -467,6 +467,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/224
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I952b39458d921622d5964cbdcc2f4e45ff9ea951
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