Bluetooth: SMP: Fix missing new lines in logs

BT_* log macros don't add new lines at the end of log message.

Change-Id: I4836f58e45453697a87c0a2b290014083b8e229a
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2015-10-15 11:52:59 +02:00 committed by Anas Nashif
commit 8b49731d3f

View file

@ -1328,17 +1328,20 @@ static uint8_t smp_security_request(struct bt_conn *conn, struct bt_buf *buf)
auth = req->auth_req & BT_SMP_AUTH_MASK; auth = req->auth_req & BT_SMP_AUTH_MASK;
if (auth & BT_SMP_AUTH_SC) { if (auth & BT_SMP_AUTH_SC) {
BT_WARN("Unsupported auth requirements: 0x%x, repairing", auth); BT_WARN("Unsupported auth requirements: 0x%x, repairing\n",
auth);
goto pair; goto pair;
} }
if ((auth & BT_SMP_AUTH_MITM) && keys->type != BT_KEYS_AUTHENTICATED) { if ((auth & BT_SMP_AUTH_MITM) && keys->type != BT_KEYS_AUTHENTICATED) {
if (bt_smp_io_capa != BT_SMP_IO_NO_INPUT_OUTPUT) { if (bt_smp_io_capa != BT_SMP_IO_NO_INPUT_OUTPUT) {
BT_INFO("New auth requirements: 0x%x, repairing", auth); BT_INFO("New auth requirements: 0x%x, repairing\n",
auth);
goto pair; goto pair;
} }
BT_WARN("Unsupported auth requirements: 0x%x, repairing", auth); BT_WARN("Unsupported auth requirements: 0x%x, repairing\n",
auth);
goto pair; goto pair;
} }