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
This commit is contained in:
Neels Hofmeyr 2016-06-06 17:57:54 +02:00
parent 65efa691f8
commit e951042475
1 changed files with 2 additions and 2 deletions

View File

@ -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: