Bluetooth: Use the stored LTK for restabilishing security
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 7 Jul 2011 21:59:41 +0000 (18:59 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 8 Jul 2011 20:37:18 +0000 (17:37 -0300)
commit02bc74556a3f1b26adf3feb372376c56ba990564
treed374ba94cdd94b0df0dda641ddef6af3cc157a26
parente7e62c8592484f79469312fc694d2995918aa152
Bluetooth: Use the stored LTK for restabilishing security

Now that it's possible that the exchanged key is present in
the link key list, we may be able to estabilish security with
an already existing key, without need to perform any SMP
procedure.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/smp.c