From e9510424750b08471ae9a6f367ec0d8728251b5e Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 6 Jun 2016 17:57:54 +0200 Subject: dyn PDCH: rsl rx dchan: also log ip.access message names Before, only standard ABIS RSL message names were logged, add ip.access specific ones. The IPAC_PDCH_ACT and _DEACT msgs are received with an ABIS_RSL_MDISC_DED_CHAN discriminator, and not with _MDISC_IPACCESS like the others. Thus rsl_rx_dchan() should be able to log ip.access message types properly. Change-Id: I9db6826b515bf565fc7ae24fc0760b60928cc89f --- src/common/rsl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/rsl.c b/src/common/rsl.c index dddde693..7e8d48c9 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -1838,13 +1838,13 @@ static int rsl_rx_dchan(struct gsm_bts_trx *trx, struct msgb *msg) msg->lchan = rsl_lchan_lookup(trx, dch->chan_nr); if (!msg->lchan) { LOGP(DRSL, LOGL_ERROR, "Rx RSL %s for unknow lchan\n", - rsl_msg_name(dch->c.msg_type)); + rsl_or_ipac_msg_name(dch->c.msg_type)); msgb_free(msg); return report_error(trx); } LOGP(DRSL, LOGL_INFO, "%s Rx RSL %s\n", gsm_lchan_name(msg->lchan), - rsl_msg_name(dch->c.msg_type)); + rsl_or_ipac_msg_name(dch->c.msg_type)); switch (dch->c.msg_type) { case RSL_MT_CHAN_ACTIV: -- cgit v1.2.3