projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d0c03
)
Bluetooth: Use smp->local_pk + 32 instead of &smp->local_pk[32]
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 16 Mar 2015 08:10:25 +0000
(
01:10
-0700)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 16 Mar 2015 08:31:31 +0000
(10:31 +0200)
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/smp.c
b/net/bluetooth/smp.c
index 0fcd8c8f1a6bd2e02e6dcb943d290cbe77816383..f0c5c28273725124679432648b66d71321b3aed8 100644
(file)
--- a/
net/bluetooth/smp.c
+++ b/
net/bluetooth/smp.c
@@
-1859,7
+1859,7
@@
static u8 sc_send_public_key(struct smp_chan *smp)
done:
SMP_DBG("Local Public Key X: %32phN", smp->local_pk);
- SMP_DBG("Local Public Key Y: %32phN",
&smp->local_pk[32]
);
+ SMP_DBG("Local Public Key Y: %32phN",
smp->local_pk + 32
);
SMP_DBG("Local Private Key: %32phN", smp->local_sk);
smp_send_cmd(smp->conn, SMP_CMD_PUBLIC_KEY, 64, smp->local_pk);