[rsl] Improve error message when the lchan allocation is failing
This commit is contained in:
parent
057fec5336
commit
0fef39a8ac
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue