X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-api%2Fbt-common.c;h=2161643fdadba84f08f0954b0a2eb307b43addc6;hb=a0e93a330aa0362824aa37ab8aebd20a3127a434;hp=496d94b26ae172872e2c991099e3a49016cb56ed;hpb=a345f36e203bc044909329c8bfd789ed520a6b73;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-api/bt-common.c b/bt-api/bt-common.c index 496d94b..2161643 100644 --- a/bt-api/bt-common.c +++ b/bt-api/bt-common.c @@ -133,11 +133,11 @@ bt_user_info_t *_bt_get_user_data(int type) return &user_info[type]; } -int _bt_common_send_rfcomm_rx_details(bluetooth_rfcomm_received_data_t *data) +int _bt_common_send_rfcomm_rx_details(int len) { uid_t uid = getuid(); pid_t pid = getpid(); - int size = data->buffer_size; + int size = len; int ret = BLUETOOTH_ERROR_NONE; BT_INFO("+"); @@ -175,14 +175,13 @@ int _bt_common_send_rfcomm_tx_details(int len) in_param1, in_param2, in_param3, in_param4, &out_param); BT_FREE_PARAMS(in_param1, in_param2, in_param3, in_param4, out_param); - BT_DBG("-"); + BT_INFO("-"); return ret; } void _bt_common_event_cb(int event, int result, void *param, void *callback, void *user_data) { - BT_DBG("+"); bluetooth_event_param_t bt_event = { 0, }; bt_event.event = event; bt_event.result = result; @@ -2496,6 +2495,8 @@ BT_EXPORT_API int bluetooth_unregister_callback(void) _bt_set_obex_server_id(BT_NO_SERVER); + _bt_reset_battery_monitor_info(); + _bt_gdbus_deinit_proxys(); if (profile_gproxy) {