]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Track not yet received keys in SMP
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 26 Feb 2014 21:33:43 +0000 (23:33 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Feb 2014 21:46:03 +0000 (13:46 -0800)
commit593817feb02fc2f0a1e36895b91c7ec01b64a604
treedd7e65e0a9403e66acf8f8b8b19c409c19eb19a7
parent0eac81827eec42c601d2c7232a44993afe36c5e3
Bluetooth: Track not yet received keys in SMP

To make is easier to track which keys we've received and which ones
we're still waiting for simply clear the corresponding key bits from
smp->remote_key_dist as they get received. This will allow us to
simplify the code for checking for SMP completion in subsequent patches.

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