Diff between 65b7b2b8ef6544dfa41bf43d3eb14d0e1444f4b2 and 37a8995c9399a9a11ca54a8cc8594fef5bd82070

Changed Files

File Additions Deletions Status
android/tester-main.c +2 -2 modified

Full Patch

diff --git a/android/tester-main.c b/android/tester-main.c
index 8b6a117..336a9a8 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -507,14 +507,14 @@ static bool match_mas_inst(btmce_mas_instance_t *exp_inst,
 		return 0;
 	}
 
-	if (exp_inst->scn && (exp_inst->scn != exp_inst->scn)) {
+	if (exp_inst->scn && (exp_inst->scn != rec_inst->scn)) {
 		tester_debug("MAS inst. [%d] scn missmatch %d vs %d", inst_num,
 						rec_inst->scn, exp_inst->scn);
 		return 0;
 	}
 
 	if (exp_inst->msg_types &&
-			(exp_inst->msg_types != exp_inst->msg_types)) {
+			(exp_inst->msg_types != rec_inst->msg_types)) {
 		tester_debug("Mas inst. [%d] mesg type missmatch %d vs %d",
 					inst_num, rec_inst->scn, exp_inst->scn);
 		return 0;