[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem]
[Cause & Measure]
[Checking Method]
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I0d27b3fd2a583e807c5c2076f42290271a04b3ac
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
NULL, NULL);
}
} else {
- if (subs_gatt_char_id == -1) {
+ if (subs_gatt_char_id != -1) {
g_dbus_connection_signal_unsubscribe(conn,
subs_gatt_char_id);
subs_gatt_char_id = -1;
}
- if (subs_gatt_service_id == -1) {
+ if (subs_gatt_service_id != -1) {
g_dbus_connection_signal_unsubscribe(conn,
subs_gatt_service_id);
subs_gatt_service_id = -1;
g_variant_get(parameters, "(&o@a{sa{sv}})", &obj_path, &value);
if (strcasecmp(obj_path, BT_BLUEZ_HCI_PATH) == 0)
- if (!TIZEN_FEATURE_BT_USB_DONGLE) {
+ if (TIZEN_FEATURE_BT_USB_DONGLE) {
if (_bt_register_obex_server() != BLUETOOTH_ERROR_NONE)
BT_ERR("Fail to init obex server");
}