Message ID | 1471856793-14263-1-git-send-email-jaffe1@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/utils/cec-follower/cec-processing.cpp b/utils/cec-follower/cec-processing.cpp index 771eb2d..34d65e4 100644 --- a/utils/cec-follower/cec-processing.cpp +++ b/utils/cec-follower/cec-processing.cpp @@ -408,6 +408,12 @@ static void processMsg(struct node *node, struct cec_msg &msg, unsigned me) dev_info("Stream Path is directed to this device\n"); return; } + case CEC_MSG_ROUTING_INFORMATION: { + __u8 la = cec_msg_initiator(&msg); + + if (cec_has_tv(1 << la) && la_info[la].phys_addr == 0) + warn("TV (0) at 0.0.0.0 sent Routing Information."); + } /* System Information */
A TV shall not send a Routing Information message as initiator. Signed-off-by: Johan Fjeldtvedt <jaffe1@gmail.com> --- utils/cec-follower/cec-processing.cpp | 6 ++++++ 1 file changed, 6 insertions(+)