+# SPDX-License-Identifier: GPL-2.0
if SYSTEMD
#systemduserunitdir = @SYSTEMD_USERUNITDIR@
systemduserunitdir = $(SYSTEMD_SYSTEMUNITDIR)
KERNEL_HAS_RESUME_EVT = 1 << 4,
};
-bool bts_has_kernel_features(uint32_t feature);
+bool btd_has_kernel_features(uint32_t feature);
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
void adapter_send_event(const char *event);
{
struct bearer_state *state = get_state(device, bdaddr_type);
DBusMessage *reply;
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
bool remove_device = false;
+#endif
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
char *dev_name = device->name;
#endif
while (device->disconnects) {
DBusMessage *msg = device->disconnects->data;
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
if (dbus_message_is_method_call(msg, ADAPTER_INTERFACE,
"RemoveDevice"))
remove_device = true;
-
+#endif
g_dbus_send_reply(dbus_conn, msg, DBUS_TYPE_INVALID);
device->disconnects = g_slist_remove(device->disconnects, msg);
dbus_message_unref(msg);