aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-05-29 08:00:03 -0400
committerMarcel Holtmann <marcel@holtmann.org>2014-12-03 10:51:16 -0500
commit0ac3dbf9995281261abecfd2970406dd4e07955b (patch)
treecbd4e061d54b81ab1685b6d4b441e6566dc8dc6f /include/net
parent5378bc5622a9c221cb472ce86a5024290d6353c2 (diff)
Bluetooth: Remove unused hci_find_ltk function
Now that LTKs are always looked up based on bdaddr (with EDiv/Rand checks done after a successful lookup) the hci_find_ltk function is not needed anymore. This patch removes the function. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 7f08ea36d246..b41969b561d8 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -921,8 +921,6 @@ struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr);
921struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, 921struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn,
922 bdaddr_t *bdaddr, u8 *val, u8 type, 922 bdaddr_t *bdaddr, u8 *val, u8 type,
923 u8 pin_len, bool *persistent); 923 u8 pin_len, bool *persistent);
924struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, __le16 ediv, __le64 rand,
925 u8 role);
926struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, 924struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr,
927 u8 addr_type, u8 type, u8 authenticated, 925 u8 addr_type, u8 type, u8 authenticated,
928 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand); 926 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand);