diff options
| author | Johan Hedberg <johan.hedberg@intel.com> | 2014-05-29 08:02:59 -0400 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2014-12-03 10:51:16 -0500 |
| commit | f3a73d97b3b78584e111478d07dfd063453f112e (patch) | |
| tree | c00dcbd2a83abb6a8c722f2141c8cbddd59dfd59 /include/net | |
| parent | 0ac3dbf9995281261abecfd2970406dd4e07955b (diff) | |
Bluetooth: Rename hci_find_ltk_by_addr to hci_find_ltk
Now that hci_find_ltk_by_addr is the only LTK lookup function there's no
need to keep the long name anymore. This patch shortens the function
name to simply hci_find_ltk.
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index b41969b561d8..90929641d0f0 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
| @@ -924,8 +924,8 @@ struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, | |||
| 924 | struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, | 924 | struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, |
| 925 | u8 addr_type, u8 type, u8 authenticated, | 925 | u8 addr_type, u8 type, u8 authenticated, |
| 926 | u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand); | 926 | u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand); |
| 927 | struct smp_ltk *hci_find_ltk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, | 927 | struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, |
| 928 | u8 addr_type, u8 role); | 928 | u8 addr_type, u8 role); |
| 929 | int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type); | 929 | int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type); |
| 930 | void hci_smp_ltks_clear(struct hci_dev *hdev); | 930 | void hci_smp_ltks_clear(struct hci_dev *hdev); |
| 931 | int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); | 931 | int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); |
