diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-11-16 15:37:05 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-11-17 09:46:33 +0100 |
commit | 0fef39a8ac17484f42840a898e06923c4989db38 (patch) | |
tree | 1dd8f6c63068292138df32acf47987c830e61928 /openbsc/src | |
parent | 057fec5336312cf737885be24fb959b8fcb03ef2 (diff) |
[rsl] Improve error message when the lchan allocation is failing
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/abis_rsl.c | 3 |
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; } |