[PATCH] osmo-bts[master]: rsl rx dchan: also log ip.access message names like PDCH DE/ACT

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Jun 16 02:45:21 UTC 2016


Review at  https://gerrit.osmocom.org/292

rsl rx dchan: also log ip.access message names like PDCH DE/ACT

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
---
M src/common/rsl.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/92/292/1

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

-- 
To view, visit https://gerrit.osmocom.org/292
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9db6826b515bf565fc7ae24fc0760b60928cc89f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list