aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-06-13 11:43:43 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-14 10:18:59 +0000
commit9302abe0547e6f6172416b1d07182916b628e480 (patch)
treebe274d0aa7c14fd07499febf0c7d979d65662389
parent45e97ac59aca2766977cc3d041abd6a201615516 (diff)
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
-rw-r--r--src/osmo-bts-litecell15/tch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-litecell15/tch.c b/src/osmo-bts-litecell15/tch.c
index 15ad4566..245c19a3 100644
--- a/src/osmo-bts-litecell15/tch.c
+++ b/src/osmo-bts-litecell15/tch.c
@@ -467,6 +467,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);
}