aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-test-audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cec-compliance/cec-test-audio.cpp')
-rw-r--r--utils/cec-compliance/cec-test-audio.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/cec-compliance/cec-test-audio.cpp b/utils/cec-compliance/cec-test-audio.cpp
index 872bb9ad..2bc24daf 100644
--- a/utils/cec-compliance/cec-test-audio.cpp
+++ b/utils/cec-compliance/cec-test-audio.cpp
@@ -165,17 +165,17 @@ static int arc_initiate_tx(struct node *node, unsigned me, unsigned la, bool int
cec_msg_initiate_arc(&msg, true);
fail_on_test(!transmit_timeout(node, &msg));
if (timed_out(&msg)) {
- fail_on_test_v2(node->remote[la].cec_version, node->remote[la].has_arc_tx);
+ fail_on_test_v2(node->remote[la].cec_version, node->remote[la].sink_has_arc_tx);
warn("Timed out waiting for Report ARC Initiated/Terminated.\n");
return PRESUMED_OK;
}
if (unrecognized_op(&msg)) {
- fail_on_test_v2(node->remote[la].cec_version, node->remote[la].has_arc_tx);
+ fail_on_test_v2(node->remote[la].cec_version, node->remote[la].sink_has_arc_tx);
return NOTSUPPORTED;
}
if (cec_msg_opcode(&msg) == CEC_MSG_REPORT_ARC_INITIATED) {
fail_on_test(!pa_are_adjacent(node->phys_addr, node->remote[la].phys_addr));
- fail_on_test_v2(node->remote[la].cec_version, !node->remote[la].has_arc_tx);
+ fail_on_test_v2(node->remote[la].cec_version, !node->remote[la].sink_has_arc_tx);
node->remote[la].arc_initiated = true;
}
else if (cec_msg_opcode(&msg) == CEC_MSG_REPORT_ARC_TERMINATED)
@@ -248,11 +248,11 @@ static int arc_initiate_rx(struct node *node, unsigned me, unsigned la, bool int
}
}
if (unsupported) {
- fail_on_test_v2(node->remote[la].cec_version, node->remote[la].has_arc_rx);
+ fail_on_test_v2(node->remote[la].cec_version, node->remote[la].source_has_arc_rx);
return NOTSUPPORTED;
}
fail_on_test(!pa_are_adjacent(node->phys_addr, node->remote[la].phys_addr));
- fail_on_test_v2(node->remote[la].cec_version, !node->remote[la].has_arc_rx);
+ fail_on_test_v2(node->remote[la].cec_version, !node->remote[la].source_has_arc_rx);
cec_msg_init(&msg, me, la);
cec_msg_report_arc_initiated(&msg);

Privacy Policy