]> 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)
commitd5f7b4a75be346b19004a234715e09050fc40907
treec077fd85428f65fc858f124eb5d576670dc99b92
parent478d4e3288bc4a8df750f18713a9836afc41af97
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