Bluetooth: Delay LTK encryption to let remote receive all keys
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 28 Feb 2014 16:10:03 +0000 (18:10 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 28 Feb 2014 16:17:46 +0000 (08:17 -0800)
commite3098be40bbde0fdd5fcfa6bf28491db421d333a
tree343f1e8eb406a28036c57a4a0317ac0e4930be71
parent38ccdc93326f61b84734028e586ed522a53b733a
Bluetooth: Delay LTK encryption to let remote receive all keys

Some devices may refuse to re-encrypt with the LTK if they haven't
received all our keys yet. This patch adds a 250ms delay before
attempting re-encryption with the LTK.

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