From: Lars Op den Kamp Date: Sat, 8 Oct 2011 08:53:07 +0000 (+0200) Subject: cec: don't stop waiting for MSGCODE_COMMAND_ACCEPTED when another command was received X-Git-Tag: upstream/2.2.0~1^2~275 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8b08421cf0a69841b692e34602fb95f66d511030;p=deb_libcec.git cec: don't stop waiting for MSGCODE_COMMAND_ACCEPTED when another command was received --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 4f2caa7..1946556 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -414,7 +414,6 @@ bool CCECProcessor::WaitForAck(uint32_t iTimeout /* = 1000 */) break; default: m_frameBuffer.Push(msg); - bGotAck = (msg.data[0] & MSGCODE_FRAME_ACK) != 0; break; } iNow = GetTimeMs();