aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/smp.c')
-rw-r--r--net/bluetooth/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index 1bd281060de2..2b5c13932b0a 100644
--- a/net/bluetooth/smp.c
+++ b/net/bluetooth/smp.c
@@ -2543,7 +2543,7 @@ static int smp_cmd_public_key(struct l2cap_conn *conn, struct sk_buff *skb)
2543 } 2543 }
2544 2544
2545 SMP_DBG("Remote Public Key X: %32phN", smp->remote_pk); 2545 SMP_DBG("Remote Public Key X: %32phN", smp->remote_pk);
2546 SMP_DBG("Remote Public Key Y: %32phN", &smp->remote_pk[32]); 2546 SMP_DBG("Remote Public Key Y: %32phN", smp->remote_pk + 32);
2547 2547
2548 if (!ecdh_shared_secret(smp->remote_pk, smp->local_sk, smp->dhkey)) 2548 if (!ecdh_shared_secret(smp->remote_pk, smp->local_sk, smp->dhkey))
2549 return SMP_UNSPECIFIED; 2549 return SMP_UNSPECIFIED;