This fix enabling and disabling adapter commands. --- android/hal-bluetooth.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c index 852dc85..d988778 100644 --- a/android/hal-bluetooth.c +++ b/android/hal-bluetooth.c @@ -104,8 +104,8 @@ static int enable(void) if (!interface_ready()) return BT_STATUS_NOT_READY; - return hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_MSG_OP_BT_ENABLE, 0, NULL, - 0, NULL, NULL); + return hal_ipc_cmd(HAL_SERVICE_ID_BLUETOOTH, HAL_MSG_OP_BT_ENABLE, 0, + NULL, 0, NULL, NULL); } static int disable(void) @@ -115,8 +115,8 @@ static int disable(void) if (!interface_ready()) return BT_STATUS_NOT_READY; - return hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_MSG_OP_BT_DISABLE, 0, NULL, - 0, NULL, NULL); + return hal_ipc_cmd(HAL_SERVICE_ID_BLUETOOTH, HAL_MSG_OP_BT_DISABLE, 0, + NULL, 0, NULL, NULL); } static void cleanup(void) -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html