Modify the DPM APIs 27/110327/1 submit/tizen/20170116.032232
authorLee Hyuk <hyuk0512.lee@samsung.com>
Mon, 16 Jan 2017 02:20:22 +0000 (11:20 +0900)
committerLee Hyuk <hyuk0512.lee@samsung.com>
Mon, 16 Jan 2017 02:20:22 +0000 (11:20 +0900)
Change-Id: Idf4b88e3dcd2e4e7334ae9b26c2ee8cafb388e91
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
common/src/libraries/bt-util.c

index c8d1f92..49002b3 100644 (file)
@@ -791,7 +791,7 @@ void _bt_util_destroy_dpm_context(void *ug_data)
 
        ugd = (bt_ug_data *)ug_data;
 
-       ret = dpm_context_remove_policy_changed_cb(ugd->dpm_handle, ugd->dpm_callback_id);
+       ret = dpm_remove_policy_changed_cb(ugd->dpm_handle, ugd->dpm_callback_id);
        if (ret != DPM_ERROR_NONE)
                BT_ERR("Fail to remove callback [%d]", ret);