Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/6] android/tester: Style fix
@ 2014-09-25 14:03 Grzegorz Kolodziejczyk
  2014-09-25 14:03 ` [PATCH 2/6] android/tester: Make client and server id unified Grzegorz Kolodziejczyk
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Grzegorz Kolodziejczyk @ 2014-09-25 14:03 UTC (permalink / raw)
  To: linux-bluetooth

---
 android/tester-main.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/android/tester-main.c b/android/tester-main.c
index b65029a..081a1ce 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -440,8 +440,7 @@ static bool match_data(struct step *step)
 			return false;
 		}
 
-		if (exp->callback_result.state !=
-						step->callback_result.state) {
+		if (exp->callback_result.state != step->callback_result.state) {
 			tester_debug("Callback state don't match");
 			return false;
 		}
@@ -452,8 +451,7 @@ static bool match_data(struct step *step)
 			return false;
 		}
 
-		if (exp->callback_result.mode !=
-						step->callback_result.mode) {
+		if (exp->callback_result.mode != step->callback_result.mode) {
 			tester_debug("Callback mode don't match");
 			return false;
 		}
@@ -489,7 +487,7 @@ static bool match_data(struct step *step)
 		}
 
 		if (exp->callback_result.app_id !=
-					step->callback_result.app_id) {
+						step->callback_result.app_id) {
 			tester_debug("Callback app_id don't match");
 			return false;
 		}
@@ -874,8 +872,8 @@ static void bond_state_changed_cb(bt_status_t status,
 
 	/* Utilize property verification mechanism for bdaddr */
 	step->callback_result.num_properties = 1;
-	step->callback_result.properties = create_property(BT_PROPERTY_BDADDR,
-						remote_bd_addr,
+	step->callback_result.properties =
+			create_property(BT_PROPERTY_BDADDR, remote_bd_addr,
 						sizeof(*remote_bd_addr));
 
 	step->callback = CB_BT_BOND_STATE_CHANGED;
-- 
1.9.3


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

end of thread, other threads:[~2014-09-29 14:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-25 14:03 [PATCH 1/6] android/tester: Style fix Grzegorz Kolodziejczyk
2014-09-25 14:03 ` [PATCH 2/6] android/tester: Make client and server id unified Grzegorz Kolodziejczyk
2014-09-25 14:03 ` [PATCH 3/6] android/tester: Add GATT Server basic test cases Grzegorz Kolodziejczyk
2014-09-25 14:03 ` [PATCH 4/6] android/tester: Add GATT server connect successful test case Grzegorz Kolodziejczyk
2014-09-25 14:03 ` [PATCH 5/6] android/tester: Make tester debug logs verbose Grzegorz Kolodziejczyk
2014-09-25 14:03 ` [PATCH 6/6] android/tester: Add GATT server disconnect successful test case Grzegorz Kolodziejczyk
2014-09-29 14:15 ` [PATCH 1/6] android/tester: Style fix Szymon Janc

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