2014-11-06 14:29:41

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] android/tester: Fix typo in function name

From: Andrei Emeltchenko <[email protected]>

---
android/tester-main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/tester-main.c b/android/tester-main.c
index 4d22249..ec03aa1 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -1339,7 +1339,7 @@ static void hidhost_connection_state_cb(bt_bdaddr_t *bd_addr,
schedule_callback_verification(step);
}

-static void hidhost_virual_unplug_cb(bt_bdaddr_t *bd_addr, bthh_status_t status)
+static void hidhost_virtual_unplug_cb(bt_bdaddr_t *bd_addr, bthh_status_t status)
{
struct step *step = g_new0(struct step, 1);

@@ -1393,7 +1393,7 @@ static bthh_callbacks_t bthh_callbacks = {
.protocol_mode_cb = hidhost_protocol_mode_cb,
.idle_time_cb = NULL,
.get_report_cb = hidhost_get_report_cb,
- .virtual_unplug_cb = hidhost_virual_unplug_cb
+ .virtual_unplug_cb = hidhost_virtual_unplug_cb
};

static void gattc_register_client_cb(int status, int client_if,
--
1.9.1



2014-11-06 16:18:08

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/tester: Fix typo in function name

Hi Andrei,

On Thursday 06 of November 2014 16:29:41 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> ---
> android/tester-main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/android/tester-main.c b/android/tester-main.c
> index 4d22249..ec03aa1 100644
> --- a/android/tester-main.c
> +++ b/android/tester-main.c
> @@ -1339,7 +1339,7 @@ static void hidhost_connection_state_cb(bt_bdaddr_t *bd_addr,
> schedule_callback_verification(step);
> }
>
> -static void hidhost_virual_unplug_cb(bt_bdaddr_t *bd_addr, bthh_status_t status)
> +static void hidhost_virtual_unplug_cb(bt_bdaddr_t *bd_addr, bthh_status_t status)
> {
> struct step *step = g_new0(struct step, 1);
>
> @@ -1393,7 +1393,7 @@ static bthh_callbacks_t bthh_callbacks = {
> .protocol_mode_cb = hidhost_protocol_mode_cb,
> .idle_time_cb = NULL,
> .get_report_cb = hidhost_get_report_cb,
> - .virtual_unplug_cb = hidhost_virual_unplug_cb
> + .virtual_unplug_cb = hidhost_virtual_unplug_cb
> };
>
> static void gattc_register_client_cb(int status, int client_if,

Applied, thanks.

--
Best regards,
Szymon Janc