Bluetooth: Add functions to manipulate the link key list for SMP
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 7 Jul 2011 21:59:36 +0000 (18:59 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:34 +0000 (11:59 -0700)
commit7f9004d183a39af6be9e962babb3b9582bf8170d
treea0c51a2c00d04924990714f817ddca189b7dbdd6
parenta7481beb039a29f4e384e2f70e40747b19f19703
Bluetooth: Add functions to manipulate the link key list for SMP

As the LTK (the new type of key being handled now) has more data
associated with it, we need to store this extra data and retrieve
the keys based on that data.

Methods for searching for a key and for adding a new LTK are
introduced here.

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