Tethering: Remove register NAP service for ConnMan tethering 68/5668/1
authorLiu, Guoqiang <guoqiangx.liu@intel.com>
Mon, 8 Apr 2013 05:24:23 +0000 (13:24 +0800)
committerZhang zhengguang <zhengguang.zhang@intel.com>
Wed, 10 Jul 2013 08:13:51 +0000 (16:13 +0800)
When bluetooth adapter is added, NAP service register should be
moved to ConnMan to handle tethering.

Signed-off-by: Liu, Guoqiang <guoqiangx.liu@intel.com>
bt-service/bt-service-adapter.c

index 9c3c160..974dd00 100644 (file)
@@ -506,9 +506,6 @@ void _bt_handle_adapter_added(void)
        if (_bt_register_obex_server() != BLUETOOTH_ERROR_NONE)
                BT_ERR("Fail to init obex server");
 
-       if (_bt_network_activate() != BLUETOOTH_ERROR_NONE)
-               BT_ERR("Fail to activate network");
-
        /* add the vconf noti handler */
        vconf_notify_key_changed(VCONFKEY_SETAPPL_DEVICE_NAME_STR,
                                        __bt_phone_name_changed_cb, NULL);