Remove the redundant debug message 73/134473/1
authorInjun Yang <injun.yang@samsung.com>
Mon, 19 Jun 2017 01:00:12 +0000 (10:00 +0900)
committerInjun Yang <injun.yang@samsung.com>
Mon, 19 Jun 2017 01:00:12 +0000 (10:00 +0900)
Change-Id: I70eb9dfbe04b045343030de7bf43fc54f82d8f4a

src/bluetooth-common.c
test/bt_unit_test.c

index 036bbb02de8f795158d660fd4cedff75aee14210..a6b7a6889ab6761c111bb7205d8476fe7e443e69 100644 (file)
@@ -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
index 360e8a372784bd38e41c9b4d46cbd5e1144bd0c4..15a8730edc2a99b654ce822660bd6d840443a7d0 100644 (file)
@@ -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;