diff options
author | Vinicius Costa Gomes | 2012-02-03 01:08:02 +0100 |
---|---|---|
committer | Johan Hedberg | 2012-02-13 16:01:33 +0100 |
commit | 346af67b8d116f01ef696fd47959a55deb2db8b6 (patch) | |
tree | ca22e1b5d479f35550893c530bab69446362ae66 /include/net/bluetooth/hci_core.h | |
parent | Bluetooth: Use the updated key structures for handling LTKs (diff) | |
download | kernel-qcow2-linux-346af67b8d116f01ef696fd47959a55deb2db8b6.tar.gz kernel-qcow2-linux-346af67b8d116f01ef696fd47959a55deb2db8b6.tar.xz kernel-qcow2-linux-346af67b8d116f01ef696fd47959a55deb2db8b6.zip |
Bluetooth: Add MGMT handlers for dealing with SMP LTK's
This adds a method to notify that a new LTK is available and
a handler to store keys coming from userspace into the kernel LTK
list.
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 2649caf4db96..7793fc644b87 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -995,6 +995,8 @@ int mgmt_discovering(struct hci_dev *hdev, u8 discovering); int mgmt_device_blocked(struct hci_dev *hdev, bdaddr_t *bdaddr); int mgmt_device_unblocked(struct hci_dev *hdev, bdaddr_t *bdaddr); +int mgmt_new_ltk(struct hci_dev *hdev, struct smp_ltk *key, u8 persistent); + /* HCI info for socket */ #define hci_pi(sk) ((struct hci_pinfo *) sk) |