From: Wootak Jung Date: Tue, 14 Jan 2025 09:47:34 +0000 (+0900) Subject: Fix build error X-Git-Tag: accepted/tizen/unified/x/20250117.125257^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified;p=platform%2Fhal%2Fbackend%2Fbluetooth-usb.git Fix build error Modify HAL_BLUETOOTH_BACKEND_ERROR naming Change-Id: I0b119663912214ebc0bf9893e47b122b30ef321f Signed-off-by: Wootak Jung --- diff --git a/src/hal-backend-bluetooth.c b/src/hal-backend-bluetooth.c index a206616..bdf5a1d 100644 --- a/src/hal-backend-bluetooth.c +++ b/src/hal-backend-bluetooth.c @@ -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)