diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2016-07-26 19:39:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-07-28 06:31:35 +0000 |
commit | e3dc498e01a2a0d03e36f147c0aa3e5b69f3c738 (patch) | |
tree | 35e969f59146c8baf76921f36c1a1c31f83dbf0a | |
parent | e443145d3e504ddf00d441940382f4106e4d9bb7 (diff) |
debug log: fix line endings for abis_rsl_rx_rll logging
This function outputs a debug log without line ending, which should be
completed by a subsequent DEBUGPC(), so complete the started log line where
missing in three of the switch cases.
The three cases do print another log message, but since these don't start on a
new line when RLL is in debug level, the log output for these is hard(er) to
read without this patch.
Change-Id: I355647e77e1b2d8e75ae1a167fe87a507a38d82d
-rw-r--r-- | openbsc/src/libbsc/abis_rsl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c index a0faf25d6..6ddb08880 100644 --- a/openbsc/src/libbsc/abis_rsl.c +++ b/openbsc/src/libbsc/abis_rsl.c @@ -1773,13 +1773,16 @@ static int abis_rsl_rx_rll(struct msgb *msg) rsl_handle_release(msg->lchan); break; case RSL_MT_ERROR_IND: + DEBUGPC(DRLL, "ERROR INDICATION\n"); rc = rsl_rx_rll_err_ind(msg); break; case RSL_MT_UNIT_DATA_IND: + DEBUGPC(DRLL, "UNIT DATA INDICATION\n"); LOGP(DRLL, LOGL_NOTICE, "unimplemented Abis RLL message " "type 0x%02x\n", rllh->c.msg_type); break; default: + DEBUGPC(DRLL, "UNKNOWN\n"); LOGP(DRLL, LOGL_NOTICE, "unknown Abis RLL message " "type 0x%02x\n", rllh->c.msg_type); } |