Apply hal macro and modify script
[platform/adaptation/bluetooth-firmware-sprd.git] / src / hal-backend-bluetooth.c
index 4eb220f..744b353 100644 (file)
@@ -14,7 +14,7 @@
 static int bluetooth_tm1_start(void)
 {
        int ret;
-       ret = system("/usr/etc/bluetooth/bt-stack-up.sh");
+       ret = system("/hal/etc/bluetooth/bt-dev-start.sh");
        if (ret == 0x100) {
                LOGE("script internal failed");
                return HAL_BACKEND_ERROR_INTERNAL;
@@ -29,7 +29,7 @@ static int bluetooth_tm1_start(void)
 static int bluetooth_tm1_stop(void)
 {
        int ret;
-       ret = system("/usr/etc/bluetooth/bt-stack-down.sh");
+       ret = system("/hal/etc/bluetooth/bt-dev-end.sh");
        if (ret == 0x100) {
                LOGE("script internal failed");
                return HAL_BACKEND_ERROR_INTERNAL;