aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cec-compliance')
-rw-r--r--utils/cec-compliance/cec-test-adapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-compliance/cec-test-adapter.cpp b/utils/cec-compliance/cec-test-adapter.cpp
index 4e6d8944..476bb87d 100644
--- a/utils/cec-compliance/cec-test-adapter.cpp
+++ b/utils/cec-compliance/cec-test-adapter.cpp
@@ -1037,7 +1037,7 @@ int testLostMsgs(struct node *node)
* Should be at least the size of the internal message queue and
* close to the number of transmitted messages.
*/
- if (pending_msgs < 18 * 3 || pending_msgs >= xfer_cnt || pending_msgs < xfer_cnt - 2)
+ if (pending_msgs < 18 * 3 || pending_msgs > xfer_cnt || pending_msgs < xfer_cnt - 2)
return fail("There were %d pending messages for %d transmitted messages\n",
pending_msgs, xfer_cnt);

Privacy Policy