aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2018-12-11 14:00:42 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2018-12-11 14:00:42 +0100
commit56cd068e426c17d63457bbf772b7c8c475f254bc (patch)
tree9bc5a163874091f43c16eae5277a93451d734ed5 /utils/cec-compliance
parent1d371cda319b7224931ea70ad9c16eb46f1e9c07 (diff)
cec-compliance: really fix wrong test for no HPD in testRemote()
Use log_addr_mask to detect if HPD is low instead of num_log_addrs. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Fixes: 8c5a3e1d7431 ("fix wrong test for no HPD in testRemote()")
Diffstat (limited to 'utils/cec-compliance')
-rw-r--r--utils/cec-compliance/cec-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index 07a2f22c..40c35860 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -1436,7 +1436,7 @@ void testRemote(struct node *node, unsigned me, unsigned la, unsigned test_tags,
struct cec_log_addrs laddrs = { };
doioctl(node, CEC_ADAP_G_LOG_ADDRS, &laddrs);
- if (!laddrs.num_log_addrs)
+ if (!laddrs.log_addr_mask)
continue;
}
node->in_standby = tests[i].subtests[j].in_standby;

Privacy Policy