aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/cec-compliance/cec-compliance.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/cec-compliance/cec-compliance.cpp b/utils/cec-compliance/cec-compliance.cpp
index 990c38bf..0d3a373b 100644
--- a/utils/cec-compliance/cec-compliance.cpp
+++ b/utils/cec-compliance/cec-compliance.cpp
@@ -658,10 +658,11 @@ int cec_named_ioctl(struct node *node, const char *name,
printf("\n\t\t\tRx Timestamp: %s Approximate response time: %u ms",
ts2s(msg->rx_ts).c_str(),
response_time_ms(msg));
- if (msg->tx_status & (CEC_TX_STATUS_ARB_LOST | CEC_TX_STATUS_NACK |
- CEC_TX_STATUS_LOW_DRIVE | CEC_TX_STATUS_ERROR))
+ if (msg->tx_status & ~CEC_TX_STATUS_OK)
printf("\n\t\t\tStatus: %s", status2s(*msg).c_str());
printf("\n");
+ if (msg->tx_status & CEC_TX_STATUS_TIMEOUT)
+ warn("CEC_TX_STATUS_TIMEOUT was set, should not happen.\n");
}
if (!retval && request == CEC_RECEIVE && show_info)

Privacy Policy