VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / net / bluetooth / hci_conn.c
index 51976db..91004ee 100644 (file)
@@ -69,7 +69,7 @@ void hci_acl_connect(struct hci_conn *conn)
        bacpy(&cp.bdaddr, &conn->dst);
        cp.pscan_rep_mode = 0x02;
 
-       if ((ie = inquiry_cache_lookup(hdev, &conn->dst)) &&
+       if ((ie = hci_inquiry_cache_lookup(hdev, &conn->dst)) &&
                        inquiry_entry_age(ie) <= INQUIRY_ENTRY_AGE_MAX) {
                cp.pscan_rep_mode = ie->info.pscan_rep_mode;
                cp.pscan_mode     = ie->info.pscan_mode;