diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2014-12-22 13:37:36 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-12-22 13:44:30 +0100 |
commit | 37a8995c9399a9a11ca54a8cc8594fef5bd82070 (patch) | |
tree | ead179bc4a120dcb947b96b75924796a7f74e09b /android/tester-main.c | |
parent | 65b7b2b8ef6544dfa41bf43d3eb14d0e1444f4b2 (diff) | |
download | bluez-37a8995c9399a9a11ca54a8cc8594fef5bd82070.tar.gz |
android/tester: Fix wrong check
Fixes typo mixing exp_inst with rec_inst.
Diffstat (limited to 'android/tester-main.c')
-rw-r--r-- | android/tester-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/tester-main.c b/android/tester-main.c index 8b6a11779..336a9a81c 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; |