diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-03-16 04:10:25 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-03-16 04:31:31 -0400 |
commit | 8e4e2ee5d80875177e03d57b807e0784f3d91e0e (patch) | |
tree | 7e83f07f2145d050dd4bc2e70d1598b2f1e72180 /net/bluetooth | |
parent | 33d0c030717bd939dab467f95966d8a64187e5c1 (diff) |
Bluetooth: Use smp->local_pk + 32 instead of &smp->local_pk[32]
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 0fcd8c8f1a6b..f0c5c2827372 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c | |||
@@ -1859,7 +1859,7 @@ static u8 sc_send_public_key(struct smp_chan *smp) | |||
1859 | 1859 | ||
1860 | done: | 1860 | done: |
1861 | SMP_DBG("Local Public Key X: %32phN", smp->local_pk); | 1861 | SMP_DBG("Local Public Key X: %32phN", smp->local_pk); |
1862 | SMP_DBG("Local Public Key Y: %32phN", &smp->local_pk[32]); | 1862 | SMP_DBG("Local Public Key Y: %32phN", smp->local_pk + 32); |
1863 | SMP_DBG("Local Private Key: %32phN", smp->local_sk); | 1863 | SMP_DBG("Local Private Key: %32phN", smp->local_sk); |
1864 | 1864 | ||
1865 | smp_send_cmd(smp->conn, SMP_CMD_PUBLIC_KEY, 64, smp->local_pk); | 1865 | smp_send_cmd(smp->conn, SMP_CMD_PUBLIC_KEY, 64, smp->local_pk); |