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:
parent
ee224e8bb0
commit
8b49731d3f
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue