aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-follower
diff options
context:
space:
mode:
authorHans Verkuil <hansverk@cisco.com>2018-02-27 13:49:16 +0100
committerHans Verkuil <hansverk@cisco.com>2018-02-27 13:49:16 +0100
commitc969495f2788837134ceda5b7a68bc0d4d10f8d0 (patch)
treeb2e8a8d2b78ef9c1e8d4ce1f58ac27d4402715c0 /utils/cec-follower
parentbeec9a8d3c02f695bc541549772ffaacf71c3ab1 (diff)
cec-ctl: ACK vs NACK was inverted for broadcast msgs
How to interpret the ACK bit depends on whether it was a directed or broadcast message. But the code has the order wrong: bool ack = !(bcast ^ bit); if (byte_cnt == 0) { bcast = (byte & 0xf) == 0xf; The 'ack' assignment should be done after the 'bcast =' assignment. Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Diffstat (limited to 'utils/cec-follower')
0 files changed, 0 insertions, 0 deletions

Privacy Policy