aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-11-16 15:37:05 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-11-17 09:46:33 +0100
commit0fef39a8ac17484f42840a898e06923c4989db38 (patch)
tree1dd8f6c63068292138df32acf47987c830e61928 /openbsc
parent057fec5336312cf737885be24fb959b8fcb03ef2 (diff)
[rsl] Improve error message when the lchan allocation is failing
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/abis_rsl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c
index acd41dd63..de0f4845b 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -1139,7 +1139,8 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
/* check availability / allocate channel */
lchan = lchan_alloc(bts, lctype);
if (!lchan) {
- fprintf(stderr, "CHAN RQD: no resources\n");
+ DEBUGP(DRSL, "CHAN RQD: no resources for %u 0x%x\n",
+ lctype, rqd_ref->ra);
/* FIXME: send some kind of reject ?!? */
return -ENOMEM;
}