]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b5b00de74d00b64cda33fcb09f6eb3562cd900a
tree343f1e8eb406a28036c57a4a0317ac0e4930be71
parent07d8ca5bf3e82c390a925006a727c30d72189094
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