aboutsummaryrefslogtreecommitdiffstats
path: root/src/trau_mux.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-19 17:07:01 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-19 17:07:01 +0000
commitdbd2ea870869996141bf3e9fe067f6ed44a4a486 (patch)
tree257e43b0ff1f6a8e4850e22ee3fe32963b514712 /src/trau_mux.c
parent23a686347dbcfa469047ebdec169723c1fbfcce3 (diff)
add debug statement when setting up trau mapping
Diffstat (limited to 'src/trau_mux.c')
-rw-r--r--src/trau_mux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/trau_mux.c b/src/trau_mux.c
index 94d11cfc6..2616785c0 100644
--- a/src/trau_mux.c
+++ b/src/trau_mux.c
@@ -46,6 +46,11 @@ int trau_mux_map(const struct gsm_e1_subslot *src,
if (!me)
return -ENOMEM;
+ DEBUGP(DCC, "Setting up TRAU mux map between (e1=%u,ts=%u,ss=%u) "
+ "and (e1=%u,ts=%u,ss=%u)\n",
+ src->e1_nr, src->e1_ts, src->e1_ts_ss,
+ dst->e1_nr, dst->e1_ts, dst->e1_ts_ss);
+
/* make sure to get rid of any stale old mappings */
trau_mux_unmap(src);
trau_mux_unmap(dst);