summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-05-29 15:02:59 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-12-03 16:51:16 +0100
commitf3a73d97b3b78584e111478d07dfd063453f112e (patch)
treec00dcbd2a83abb6a8c722f2141c8cbddd59dfd59 /net/bluetooth/hci_event.c
parent0ac3dbf9995281261abecfd2970406dd4e07955b (diff)
downloadop-kernel-dev-f3a73d97b3b78584e111478d07dfd063453f112e.zip
op-kernel-dev-f3a73d97b3b78584e111478d07dfd063453f112e.tar.gz
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 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 0058b54..34ecbf0 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -4590,8 +4590,7 @@ static void hci_le_ltk_request_evt(struct hci_dev *hdev, struct sk_buff *skb)
if (conn == NULL)
goto not_found;
- ltk = hci_find_ltk_by_addr(hdev, &conn->dst, conn->dst_type,
- conn->role);
+ ltk = hci_find_ltk(hdev, &conn->dst, conn->dst_type, conn->role);
if (!ltk)
goto not_found;
OpenPOWER on IntegriCloud