aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-29 17:49:52 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-29 17:49:52 +0200
commit45b767c7bec3e6e1995c67ad9ea252e03e6edf67 (patch)
tree150fd21d4999ca5b84e256104edf346baebc47cb
parent1904e50f87cc788b34592bc73b9af4bb8ca9a2dd (diff)
RSL: Log all RLL messages from A-bis to LAPDm
-rw-r--r--src/common/rsl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 9b6477b..c906015 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -849,8 +849,14 @@ static int rsl_rx_rll(struct gsm_bts_trx *trx, struct msgb *msg)
msg->l3h = (unsigned char *)rh + sizeof(*rh);
lchan = rsl_lchan_lookup(trx, rh->chan_nr);
- if (!lchan)
+ if (!lchan) {
+ LOGP(DRLL, LOGL_NOTICE, "Rx RLL %s for unknown lchan\n",
+ rsl_msg_name(rh->c.msg_type));
return rsl_tx_chan_nack(trx, msg, RSL_ERR_MAND_IE_ERROR);
+ }
+
+ DEBUGP(DRLL, "%s Rx RLL %s Abis -> LAPDm\n", gsm_lchan_name(lchan),
+ rsl_msg_name(rh->c.msg_type));
return lapdm_rslms_recvmsg(msg, &lchan->lapdm_ch);
}