From: Injun Yang Date: Mon, 19 Jun 2017 01:00:12 +0000 (+0900) Subject: Remove the redundant debug message X-Git-Tag: submit/tizen_3.0/20170716.235230~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e7fd0b80c2f7a826e3c6f787b35b1f76b10628e;p=platform%2Fcore%2Fapi%2Fbluetooth.git Remove the redundant debug message Change-Id: I70eb9dfbe04b045343030de7bf43fc54f82d8f4a --- diff --git a/src/bluetooth-common.c b/src/bluetooth-common.c index 036bbb0..a6b7a68 100644 --- a/src/bluetooth-common.c +++ b/src/bluetooth-common.c @@ -1137,16 +1137,12 @@ static bool __bt_need_to_handle(int event) event_index = __bt_get_cb_index(event); if (event_index != -1 && bt_event_slot_container[event_index].callback) return true; - else - BT_DBG("Event [%d] would not handled, not found in bt_event_slot_container", event); return false; } static void __bt_event_proxy(int event, bluetooth_event_param_t *param, void *user_data) { - BT_DBG("Entered for event: %d", event); - int call_id; int *avrcp_mode; int *discoverable_timeout; @@ -2123,7 +2119,6 @@ static void __bt_event_proxy(int event, bluetooth_event_param_t *param, void *us } #endif case BLUETOOTH_EVENT_GATT_CHAR_VAL_CHANGED: - BT_INFO("BLUETOOTH_EVENT_GATT_CHAR_VAL_CHANGED"); char_val = (bt_gatt_char_value_t *)(param->param_data); #ifdef TIZEN_FEATURE_ENABLE_LEGACY_GATT_CLIENT @@ -2164,8 +2159,6 @@ static void __bt_event_proxy(int event, bluetooth_event_param_t *param, void *us param->param_data); break; case BLUETOOTH_EVENT_GATT_WRITE_CHAR: - BT_INFO("BLUETOOTH_EVENT_GATT_WRITE_CHAR"); - #ifdef TIZEN_FEATURE_ENABLE_LEGACY_GATT_CLIENT if (_bt_gatt_is_legacy_client_mode()) { ((bt_gatt_characteristic_write_cb)bt_event_slot_container[event_index].callback) @@ -3030,7 +3023,6 @@ static int __bt_get_bt_adapter_device_discovery_info_s(bt_adapter_device_discove if ((*discovery_info)->service_uuid[i] != NULL) __bt_convert_lower_to_upper((*discovery_info)->service_uuid[i]); - BT_INFO("UUID: %s", (*discovery_info)->service_uuid[i]); } } } else diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c index 360e8a3..15a8730 100644 --- a/test/bt_unit_test.c +++ b/test/bt_unit_test.c @@ -2156,6 +2156,7 @@ void __bt_gatt_connection_state_changed_cb(int result, if (connected) { TC_PRT("GATT connected [%s]", remote_address); + strncpy(remote_addr, remote_address, strlen(remote_addr)); bt_le_conn_update_s param;