aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-06-03 13:25:05 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-05 09:35:23 +0000
commitef30f50d5d6d5f863fc147d05ccdceb89284934e (patch)
tree166cbb67daac2d1cf37459a322e8c67d95d71f60
parent201b424b73ebd4da49d2fbad85d66a7068a9a28f (diff)
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 Reviewed-on: https://gerrit.osmocom.org/195 Tested-by: Jenkins Builder Reviewed-by: Harald Welte <laforge@gnumonks.org>
-rw-r--r--src/osmo-bts-sysmo/tch.c1
1 files changed, 1 insertions, 0 deletions
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 @@ int l1if_tch_rx(struct gsm_bts_trx *trx, uint8_t chan_nr, struct msgb *l1p_msg)
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);
}