aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 11:43:56 +0100
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 11:43:56 +0100
commitbd19d5c6fef79df8dd5785536b2631b6513867ed (patch)
tree3abfaece5dba74143ca39c2eba0a9af198c4de45
parent8b5b9b6d55e0880e15df3835d459575396814db3 (diff)
print TS name when out of resources during CHAN RQD
-rw-r--r--openbsc/src/abis_rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c
index f5cf24bb6..fdccd8378 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -1286,8 +1286,8 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
/* check availability / allocate channel */
lchan = lchan_alloc(bts, lctype);
if (!lchan) {
- LOGP(DRSL, LOGL_NOTICE, "CHAN RQD: no resources for %s 0x%x\n",
- gsm_lchan_name(lctype), rqd_ref->ra);
+ LOGP(DRSL, LOGL_NOTICE, "%s CHAN RQD: no resources for %s 0x%x\n",
+ gsm_ts_name(lchan->ts), gsm_lchan_name(lctype), rqd_ref->ra);
counter_inc(bts->network->stats.chreq.no_channel);
/* FIXME: send some kind of reject ?!? */
return -ENOMEM;