diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-06-06 19:46:25 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-06-06 19:46:25 +0200 |
commit | 44a35902adde70b4e4696640f09f448ba44d51d2 (patch) | |
tree | ca4c0a0c1b1a5030bb1ee68b10f93a7b46da5fd0 /src/common | |
parent | f1e2d08022cf1cc7682ae5b618476ad7acb4f53a (diff) |
bts.c: Log name of RR msg type instead of value
Change-Id: Ia35e132e0b6532dfbf09bb33fe9328a9e3e16885
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/bts.c | 4 |
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++; |