summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 9e0b2e888bba..9274cd228995 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -4194,7 +4194,7 @@ static bool check_pending_le_conn(struct hci_dev *hdev, bdaddr_t *addr,
{
struct hci_conn *conn;
- if (!hci_pend_le_conn_lookup(hdev, addr, addr_type))
+ if (!hci_pend_le_action_lookup(&hdev->pend_le_conns, addr, addr_type))
return false;
conn = hci_connect_le(hdev, addr, addr_type, BT_SECURITY_LOW,