Commit bc07cd69 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg

Bluetooth: Add extra SMP_DBG statement for remote OOB data

Just for pure debugging purposes print the remote out-of-band data
that has been received and is going to be used.
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent e091526d
...@@ -685,6 +685,8 @@ static void build_pairing_cmd(struct l2cap_conn *conn, ...@@ -685,6 +685,8 @@ static void build_pairing_cmd(struct l2cap_conn *conn,
oob_flag = SMP_OOB_PRESENT; oob_flag = SMP_OOB_PRESENT;
memcpy(smp->rr, oob_data->rand256, 16); memcpy(smp->rr, oob_data->rand256, 16);
memcpy(smp->pcnf, oob_data->hash256, 16); memcpy(smp->pcnf, oob_data->hash256, 16);
SMP_DBG("OOB Remote Confirmation: %16phN", smp->pcnf);
SMP_DBG("OOB Remote Random: %16phN", smp->rr);
} }
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment