diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-03-16 15:34:56 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-03-16 15:36:21 -0400 |
commit | bc07cd696e1863d082fdc8650351b288bd41629b (patch) | |
tree | 91db7ef55156246e7a9c69441589d6423d96cbed /net/bluetooth/smp.c | |
parent | e091526dfdaa955a7481a696094ac9e5d1bdb0fe (diff) |
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: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/smp.c')
-rw-r--r-- | net/bluetooth/smp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 2b5c13932b0a..ebe69e91fb6c 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c | |||
@@ -685,6 +685,8 @@ static void build_pairing_cmd(struct l2cap_conn *conn, | |||
685 | oob_flag = SMP_OOB_PRESENT; | 685 | oob_flag = SMP_OOB_PRESENT; |
686 | memcpy(smp->rr, oob_data->rand256, 16); | 686 | memcpy(smp->rr, oob_data->rand256, 16); |
687 | memcpy(smp->pcnf, oob_data->hash256, 16); | 687 | memcpy(smp->pcnf, oob_data->hash256, 16); |
688 | SMP_DBG("OOB Remote Confirmation: %16phN", smp->pcnf); | ||
689 | SMP_DBG("OOB Remote Random: %16phN", smp->rr); | ||
688 | } | 690 | } |
689 | 691 | ||
690 | } else { | 692 | } else { |