BT_ERR("Fail to set discoverable mode");
} else {
__bt_set_visible_mode();
+ }
- /* add the vconf noti handler */
- if (0 != vconf_notify_key_changed(VCONFKEY_SETAPPL_DEVICE_NAME_STR,
- (vconf_callback_fn)__bt_phone_name_changed_cb, NULL))
- BT_ERR("DEVICE_NAME key changed notification registration failed");
+ /* add the vconf noti handler */
+ if (0 != vconf_notify_key_changed(VCONFKEY_SETAPPL_DEVICE_NAME_STR,
+ (vconf_callback_fn)__bt_phone_name_changed_cb, NULL))
+ BT_ERR("DEVICE_NAME key changed notification registration failed");
- __bt_set_local_name();
- }
+ __bt_set_local_name();
/* Get All properties */
if (OAL_STATUS_SUCCESS != adapter_get_properties())