Apply tizen 3.0 based product patchsets
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-adapter-le.c
index 018db76..989d2d4 100644 (file)
@@ -268,7 +268,7 @@ gboolean __bluetooth_is_privileged_process(void)
 BT_EXPORT_API int bluetooth_set_advertising(int handle, gboolean enable)
 {
        int result;
-       gboolean use_reserved_slot = FALSE;
+       gboolean use_reserved_slot = TRUE;
 
        BT_CHECK_ENABLED_ANY(return);
 
@@ -294,7 +294,7 @@ BT_EXPORT_API int bluetooth_set_custom_advertising(int handle, gboolean enable,
                                                bluetooth_advertising_params_t *params)
 {
        int result;
-       gboolean use_reserved_slot = FALSE;
+       gboolean use_reserved_slot = TRUE;
 
        BT_CHECK_ENABLED_ANY(return);
 
@@ -348,7 +348,7 @@ BT_EXPORT_API int bluetooth_get_advertising_data(bluetooth_advertising_data_t *a
 BT_EXPORT_API int bluetooth_set_advertising_data(int handle, const bluetooth_advertising_data_t *value, int length)
 {
        int result;
-       gboolean use_reserved_slot = FALSE;
+       gboolean use_reserved_slot = TRUE;
 
        BT_CHECK_PARAMETER(value, return);
        BT_CHECK_ENABLED_ANY(return);
@@ -407,7 +407,7 @@ BT_EXPORT_API int bluetooth_set_scan_response_data(int handle,
                        const bluetooth_scan_resp_data_t *value, int length)
 {
        int result;
-       gboolean use_reserved_slot = FALSE;
+       gboolean use_reserved_slot = TRUE;
 
        BT_CHECK_PARAMETER(value, return);
        BT_CHECK_ENABLED_ANY(return);