2014-11-12 08:22:06

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] android/hal: Fix last service id number

From: Andrei Emeltchenko <[email protected]>

---
android/hal-msg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/hal-msg.h b/android/hal-msg.h
index eedd37b..773af5b 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -39,7 +39,7 @@ static const char BLUEZ_HAL_SK_PATH[] = "\0bluez_hal_socket";
#define HAL_SERVICE_ID_MAP_CLIENT 11
#define HAL_SERVICE_ID_AVRCP_CTRL 12

-#define HAL_SERVICE_ID_MAX HAL_SERVICE_ID_MAP_CLIENT
+#define HAL_SERVICE_ID_MAX HAL_SERVICE_ID_AVRCP_CTRL

/* Core Service */

--
1.9.1



2014-11-12 08:48:35

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/hal: Fix last service id number

Hi Andrei,

On Wednesday 12 of November 2014 10:22:06 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> ---
> android/hal-msg.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/hal-msg.h b/android/hal-msg.h
> index eedd37b..773af5b 100644
> --- a/android/hal-msg.h
> +++ b/android/hal-msg.h
> @@ -39,7 +39,7 @@ static const char BLUEZ_HAL_SK_PATH[] = "\0bluez_hal_socket";
> #define HAL_SERVICE_ID_MAP_CLIENT 11
> #define HAL_SERVICE_ID_AVRCP_CTRL 12
>
> -#define HAL_SERVICE_ID_MAX HAL_SERVICE_ID_MAP_CLIENT
> +#define HAL_SERVICE_ID_MAX HAL_SERVICE_ID_AVRCP_CTRL
>
> /* Core Service */
>

Pushed, thanks.

--
Best regards,
Szymon Janc