Change in osmo-bts[master]: bts.c: Log name of RR msg type instead of value

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Jun 7 09:14:46 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9491


Change subject: bts.c: Log name of RR msg type instead of value
......................................................................

bts.c: Log name of RR msg type instead of value

Change-Id: Ia35e132e0b6532dfbf09bb33fe9328a9e3e16885
---
M src/common/bts.c
1 file changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/src/common/bts.c b/src/common/bts.c
index 54e5480..f0850c1 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -538,8 +538,8 @@
 	if (bts->agch_queue.length > hard_limit) {
 		LOGP(DSUM, LOGL_ERROR,
 		     "AGCH: too many messages in queue, "
-		     "refusing message type 0x%02x, length = %d/%d\n",
-		     ((struct gsm48_imm_ass *)msgb_l3(msg))->msg_type,
+		     "refusing message type %s, length = %d/%d\n",
+		     gsm48_rr_msg_name(((struct gsm48_imm_ass *)msgb_l3(msg))->msg_type),
 		     bts->agch_queue.length, bts->agch_queue.max_length);
 
 		bts->agch_queue.rejected_msgs++;

-- 
To view, visit https://gerrit.osmocom.org/9491
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia35e132e0b6532dfbf09bb33fe9328a9e3e16885
Gerrit-Change-Number: 9491
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180607/fb9f43b5/attachment.htm>


More information about the gerrit-log mailing list