mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
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>
This commit is contained in:
parent
33d0c03071
commit
8e4e2ee5d8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user