Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] android/tester: Fix tester setup result set
@ 2014-02-21 11:33 Grzegorz Kolodziejczyk
  2014-02-21 11:33 ` [PATCH 2/2] android/tester: Fix Discovery Stop - Success test case Grzegorz Kolodziejczyk
  2014-02-21 11:54 ` [PATCH 1/2] android/tester: Fix tester setup result set Szymon Janc
  0 siblings, 2 replies; 3+ messages in thread
From: Grzegorz Kolodziejczyk @ 2014-02-21 11:33 UTC (permalink / raw)
  To: linux-bluetooth

Tester setup result is set to pass after set to fail because of missing
function return. This adds return from function after setting of setup
result to fail.
---
 android/android-tester.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/android/android-tester.c b/android/android-tester.c
index 9605c4d..618efde 100644
--- a/android/android-tester.c
+++ b/android/android-tester.c
@@ -2024,6 +2024,7 @@ static void setup_base(const void *test_data)
 	if (status != BT_STATUS_SUCCESS) {
 		data->if_bluetooth = NULL;
 		tester_setup_failed();
+		return;
 	}
 
 	tester_setup_complete();
-- 
1.8.5.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-21 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-21 11:33 [PATCH 1/2] android/tester: Fix tester setup result set Grzegorz Kolodziejczyk
2014-02-21 11:33 ` [PATCH 2/2] android/tester: Fix Discovery Stop - Success test case Grzegorz Kolodziejczyk
2014-02-21 11:54 ` [PATCH 1/2] android/tester: Fix tester setup result set Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox