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>
This commit is contained in:
committed by
Marcel Holtmann
parent
0ac3dbf999
commit
f3a73d97b3
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user