Fix build error 25/318225/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen accepted/tizen/unified/20250117.152510 accepted/tizen/unified/x/20250117.125257 accepted/tizen/unified/x/asan/20250211.003217
authorWootak Jung <wootak.jung@samsung.com>
Tue, 14 Jan 2025 09:47:34 +0000 (18:47 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 14 Jan 2025 09:47:34 +0000 (18:47 +0900)
Modify HAL_BLUETOOTH_BACKEND_ERROR naming

Change-Id: I0b119663912214ebc0bf9893e47b122b30ef321f
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/hal-backend-bluetooth.c

index a206616d4163f8c93ac8a23c6d83552bab4a1df3..bdf5a1d9e66d5ec3e22fa8158aeb4ac984643ab5 100644 (file)
@@ -31,13 +31,13 @@ static int bluetooth_usb_start(void)
        ret = system("/hal/etc/bluetooth/bt-dev-start.sh");
        if (ret == 0x100) {
                _E("script internal failed");
-               return HAL_BACKEND_ERROR_INTERNAL;
+               return HAL_BLUETOOTH_BACKEND_ERROR_INTERNAL;
        } else if (ret == 0x200) {
                _E("script timeout failed");
-               return HAL_BACKEND_ERROR_TIMEOUT;
+               return HAL_BLUETOOTH_BACKEND_ERROR_TIMEOUT;
        }
        _D("script started successfully");
-       return HAL_BACKEND_ERROR_NONE;
+       return HAL_BLUETOOTH_BACKEND_ERROR_NONE;
 }
 
 static int bluetooth_usb_stop(void)
@@ -46,13 +46,13 @@ static int bluetooth_usb_stop(void)
        ret = system("/hal/etc/bluetooth/bt-dev-end.sh");
        if (ret == 0x100) {
                _E("script internal failed");
-               return HAL_BACKEND_ERROR_INTERNAL;
+               return HAL_BLUETOOTH_BACKEND_ERROR_INTERNAL;
        } else if (ret == 0x200) {
                _E("script timeout failed");
-               return HAL_BACKEND_ERROR_TIMEOUT;
+               return HAL_BLUETOOTH_BACKEND_ERROR_TIMEOUT;
        }
        _D("script started successfully");
-       return HAL_BACKEND_ERROR_NONE;
+       return HAL_BLUETOOTH_BACKEND_ERROR_NONE;
 }
 
 static int bluetooth_usb_init(void **data)