Modify the DPM APIs 25/110325/1 tizen_3.0_tv accepted/tizen/3.0/common/20170117.075622 accepted/tizen/3.0/ivi/20170117.005229 accepted/tizen/3.0/mobile/20170117.005145 accepted/tizen/3.0/tv/20170117.005157 accepted/tizen/3.0/wearable/20170117.005211 submit/tizen_3.0/20170116.032247
authorLee Hyuk <hyuk0512.lee@samsung.com>
Mon, 16 Jan 2017 02:17:37 +0000 (11:17 +0900)
committerLee Hyuk <hyuk0512.lee@samsung.com>
Mon, 16 Jan 2017 02:17:37 +0000 (11:17 +0900)
Change-Id: Icc6beeb8563953be02e9b09e46a9558c13fb0dc9
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
common/src/libraries/bt-util.c

index f3cd598..4ce1a74 100644 (file)
@@ -787,7 +787,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);