aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 13:48:09 +0100
committerHarald Welte <laforge@gnumonks.org>2009-12-28 13:40:39 +0100
commit2f5df85c26424f1889ecd4fdabfc361a549c0683 (patch)
tree744e61acea2ea2e6e66886ab459e979f8743c64f /openbsc
parent91b603db57db631c350dcb72117d20286d36aa21 (diff)
fix segfault in CHAN RQD log message
Diffstat (limited to 'openbsc')
-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 ec716144f..f6892ca36 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -1270,8 +1270,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;