[RSL] print human-readable channel type during channel allocation failure

This commit is contained in:
Harald Welte 2009-12-12 20:53:23 +01:00
parent 7322528ca1
commit 9e2748ed3a
1 changed files with 2 additions and 2 deletions

View File

@ -1236,8 +1236,8 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
/* check availability / allocate channel */
lchan = lchan_alloc(bts, lctype);
if (!lchan) {
DEBUGP(DRSL, "CHAN RQD: no resources for %u 0x%x\n",
lctype, rqd_ref->ra);
DEBUGP(DRSL, "CHAN RQD: no resources for %s 0x%x\n",
gsm_lchan_name(lctype), rqd_ref->ra);
/* FIXME: send some kind of reject ?!? */
return -ENOMEM;
}