X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-api%2Fbt-network.c;h=e84a86223d5434e16194b7a083c273e89ad933e4;hb=89402339a81775d534510fb74c539f10655ef6c2;hp=43453cde2be6e591fae7b4336fbb5549679f6447;hpb=4fb3c2ae989c0df21db2c03c37ec103658d3f97e;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-api/bt-network.c b/bt-api/bt-network.c index 43453cd..e84a862 100644 --- a/bt-api/bt-network.c +++ b/bt-api/bt-network.c @@ -21,10 +21,7 @@ #include "bt-common.h" #include "bt-request-sender.h" #include "bt-event-handler.h" - -#ifdef TIZEN_FEATURE_BT_DPM #include "bt-dpm.h" -#endif BT_EXPORT_API int bluetooth_network_activate_server() { @@ -76,7 +73,6 @@ BT_EXPORT_API int bluetooth_network_connect(const bluetooth_device_address_t *de return BLUETOOTH_ERROR_PERMISSION_DEINED; } -#ifdef TIZEN_FEATURE_BT_DPM char *uuid = NULL; if (_bt_check_dpm(BT_DPM_ADDRESS, (void *)device_address) == BT_DPM_RESTRICTED) { BT_ERR("Blacklist device"); @@ -117,7 +113,6 @@ BT_EXPORT_API int bluetooth_network_connect(const bluetooth_device_address_t *de } } g_free(uuid); -#endif user_info = _bt_get_user_data(BT_COMMON); retv_if(user_info->cb == NULL, BLUETOOTH_ERROR_INTERNAL);