Bluetooth: Add LE SC support for responding to Pairing Confirm PDU
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 6 Jun 2014 08:36:38 +0000 (11:36 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:17 +0000 (16:51 +0100)
commitdcee2b32216ffa62195cac394d50fd801b51a41c
tree889f778db349de22b99946549bda81dbb4ddfd2c
parentcbbbe3e242f5629fd34836e7e41737235c049ce2
Bluetooth: Add LE SC support for responding to Pairing Confirm PDU

When LE SC is being used we should always respond to it by sending our
local random number. This patch adds a convenience function for it which
also contains a check for the pre-requisite public key exchange
completion

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c