diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-03-16 22:34:56 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-03-16 22:36:21 +0300 |
commit | bc07cd696e1863d082fdc8650351b288bd41629b (patch) | |
tree | 91db7ef55156246e7a9c69441589d6423d96cbed /net/bluetooth/smp.c | |
parent | e091526dfdaa955a7481a696094ac9e5d1bdb0fe (diff) | |
download | linux-bc07cd696e1863d082fdc8650351b288bd41629b.tar.xz |
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, oob_flag = SMP_OOB_PRESENT; memcpy(smp->rr, oob_data->rand256, 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 { |