}
} else if (!g_strcmp0(key, "LEDiscovering")) {
-// GVariant *result;
+ GVariant *result;
is_le_discovering = g_variant_get_boolean(value);
DBG("##LE Discovering = [%d]", is_le_discovering);
if (is_le_discovering)
continue;
-#if 0 /* No need to stop le discovery in case LEDiscovering is false */
adapter_proxy = _bt_hal_get_adapter_proxy();
if (adapter_proxy == NULL) {
ERR("adapter_proxy == NULL");
continue;
}
g_variant_unref(result);
-#endif
size += __bt_insert_hal_properties(buf + size,
HAL_PROP_ADAPTER_LE_DISCOVERY_FINISHED, sizeof(gboolean), &is_le_discovering);