aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-06-06 17:57:54 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-06-17 04:24:57 +0200
commite9510424750b08471ae9a6f367ec0d8728251b5e (patch)
tree7a3d11bf2998a89772f34491d9f85c5589ca337f
parent65efa691f8dc6e28239ccdc026f0bae9718fe3d6 (diff)
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
-rw-r--r--src/common/rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index dddde69..7e8d48c 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: