2014-09-16 08:10:47

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] android: Fix wrong check

From: Andrei Emeltchenko <[email protected]>

---
android/tester-main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/tester-main.c b/android/tester-main.c
index 385c00d..5f0563d 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -1631,7 +1631,7 @@ static void setup_avrcp(const void *test_data)
}

avrcp = if_bt->get_profile_interface(BT_PROFILE_AV_RC_ID);
- if (!a2dp) {
+ if (!avrcp) {
tester_setup_failed();
return;
}
--
1.9.1



2014-09-16 08:46:59

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android: Fix wrong check

Hi Andrei,

On Tuesday 16 of September 2014 11:10:47 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> ---
> android/tester-main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/tester-main.c b/android/tester-main.c
> index 385c00d..5f0563d 100644
> --- a/android/tester-main.c
> +++ b/android/tester-main.c
> @@ -1631,7 +1631,7 @@ static void setup_avrcp(const void *test_data)
> }
>
> avrcp = if_bt->get_profile_interface(BT_PROFILE_AV_RC_ID);
> - if (!a2dp) {
> + if (!avrcp) {
> tester_setup_failed();
> return;
> }

Applied, thanks.

--
BR
Szymon Janc