From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> Socket HAL always registers with Bluetooth HAL and there is no sense to send 2 commands over IPC. --- android/hal-bluetooth.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c index 078d537..8cd4327 100644 --- a/android/hal-bluetooth.c +++ b/android/hal-bluetooth.c @@ -347,15 +347,6 @@ static int init(bt_callbacks_t *callbacks) goto fail; } - cmd.service_id = HAL_SERVICE_ID_SOCK; - - status = hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_OP_REGISTER_MODULE, - sizeof(cmd), &cmd, NULL, NULL, NULL); - if (status != BT_STATUS_SUCCESS) { - error("Failed to register 'socket' service"); - goto fail; - } - return status; fail: -- 1.7.10.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