[PATCHv2 05/11] android/tester-ng: Add missing check for callback status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

diff --git a/android/tester-main.c b/android/tester-main.c
index c850082..17962e7 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -424,6 +424,12 @@ static bool match_data(struct step *step)
 			return false;
 		}
 
+		if (exp->callback_result.status !=
+						step->callback_result.status) {
+			tester_debug("Callback status don't match");
+			return false;
+		}
+
 		if (exp->callback_result.properties &&
 				verify_property(exp->callback_result.properties,
 				exp->callback_result.num_properties,
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux