From: DoHyun Pyun Date: Tue, 6 Dec 2016 23:52:15 +0000 (+0900) Subject: Fix the coding style errors X-Git-Tag: submit/tizen/20161219.233906^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91e66ae3ed035b5bccf3e18939d331deb165299c;p=apps%2Fnative%2Fug-bluetooth-efl.git Fix the coding style errors Change-Id: I98b13db741daedffb50d23a1e3a7eeb7bf6917db Signed-off-by: DoHyun Pyun --- diff --git a/common/src/libraries/bt-callback.c b/common/src/libraries/bt-callback.c index eba161a..b5cec96 100644 --- a/common/src/libraries/bt-callback.c +++ b/common/src/libraries/bt-callback.c @@ -522,7 +522,7 @@ void _bt_cb_new_le_device_found(int result, bt_adapter_le_device_scan_result_inf if (ret != BT_ERROR_NONE) BT_ERR("Fail to get le device name"); - if(ugd->searched_device == NULL) + if (ugd->searched_device == NULL) _bt_update_genlist_item(ugd->searched_title); if (_bt_main_check_and_update_device(ugd->searched_device, @@ -642,11 +642,10 @@ void _bt_cb_gatt_connection_state_changed(int result, bool connected, char *remo elm_object_disabled_set(ugd->scan_btn, EINA_FALSE); if (connected) { - if (result != BT_ERROR_NONE) { + if (result != BT_ERROR_NONE) BT_ERR("Failed to GATT connect with device [%d]", result); - } else { + else BT_DBG("LE Connected"); - } } else { BT_DBG("LE Disconnected"); } @@ -806,9 +805,8 @@ void _bt_cb_bonding_created(int result, bt_device_info_s *dev_info, /* Don't try to auto-connect in the network case */ if (profile == NULL && ugd->searched_item != NULL) { - if (_bt_main_is_connectable_device(new_dev)) { - _bt_main_connect_device(ugd, new_dev); - } + if (_bt_main_is_connectable_device(new_dev)) + _bt_main_connect_device(ugd, new_dev); } else { BT_DBG("Net profile exists"); int connected = _bt_util_is_profile_connected(