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
This commit is contained in:
Neels Hofmeyr 2016-07-26 19:39:43 +02:00 committed by Harald Welte
parent e443145d3e
commit e3dc498e01
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}