]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix local OOB data handling for SMP
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Mar 2015 09:45:43 +0000 (11:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Mar 2015 16:16:45 +0000 (17:16 +0100)
commit912614f631d1f24ec85ef09ee9c1c9057415f045
treec077fd85428f65fc858f124eb5d576670dc99b92
parent0c3f566b7f3204c25d4602295bc39f0bc34abc82
Bluetooth: Fix local OOB data handling for SMP

We need to store the local ra/rb value in order to verify the Check
value received from the remote. This patch adds a new 'lr' for the local
ra/rb value and makes sure it gets used when verifying the DHKey Check
PDU received from the remote.

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