BLUETOOTH_ERROR_DEVICE_ALREADY_ENABLED);
#ifdef TIZEN_FEATURE_BT_DPM
- retv_if(bluetooth_dpm_is_mode_allowed() == BLUETOOTH_DPM_RESULT_ACCESS_DENIED,
+ retv_if(bluetooth_dpm_is_mode_allowed() == BLUETOOTH_ERROR_PERMISSION_DEINED,
BLUETOOTH_ERROR_PERMISSION_DEINED);
#endif