core: Provide skeleton for LE connection trigger

This commit is contained in:
Marcel Holtmann 2013-01-20 01:02:31 -08:00
parent dee5bc60cb
commit cdb2fd58d3

View File

@ -4034,7 +4034,7 @@ static void update_found_devices(struct btd_adapter *adapter,
* list of found devices and name confirming for legacy devices.
*/
if (!adapter->discovery_list)
return;
goto done;
if (g_slist_find(adapter->discovery_found, dev))
return;
@ -4045,6 +4045,10 @@ static void update_found_devices(struct btd_adapter *adapter,
adapter->discovery_found = g_slist_prepend(adapter->discovery_found,
dev);
done:
if (device_is_le(dev) && g_slist_find(adapter->connect_list, dev)) {
}
}
static void device_found_callback(uint16_t index, uint16_t length,