aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-06-06 19:46:25 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-06-06 19:46:25 +0200
commit44a35902adde70b4e4696640f09f448ba44d51d2 (patch)
treeca4c0a0c1b1a5030bb1ee68b10f93a7b46da5fd0 /src/common/bts.c
parentf1e2d08022cf1cc7682ae5b618476ad7acb4f53a (diff)
bts.c: Log name of RR msg type instead of value
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 54e5480a..f0850c13 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -538,8 +538,8 @@ int bts_agch_enqueue(struct gsm_bts *bts, struct msgb *msg)
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++;