summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 13:48:09 +0100
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 13:48:09 +0100
commit0c291732991f944d16d400acd452ea1ac30bf64b (patch)
treea0bd3b609df1aa8193bd2d43a5e1b0cf09e0f580
parent31092ad9afd7ffe77e7ce26e76b3d43c4fd17534 (diff)
fix segfault in CHAN RQD log message
-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 58a5366b0..8f6e0e5ab 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -1290,8 +1290,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, "%s CHAN RQD: no resources for %s 0x%x\n",
- gsm_ts_name(lchan->ts), gsm_lchan_name(lctype), rqd_ref->ra);
+ LOGP(DRSL, LOGL_NOTICE, "BTS %d CHAN RQD: no resources for %s 0x%x\n",
+ msg->lchan->ts->trx->bts->nr, gsm_lchan_name(lctype), rqd_ref->ra);
counter_inc(bts->network->stats.chreq.no_channel);
/* FIXME: send some kind of reject ?!? */
return -ENOMEM;