cec: always wait for a signal in CCECProcessor::Transmit()
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 2 Nov 2011 23:15:35 +0000 (00:15 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 2 Nov 2011 23:15:35 +0000 (00:15 +0100)
src/lib/CECProcessor.cpp

index 563f2aa13a1c4cba31bf74155219e3d5fe5721c3..c83bdc05486d158140313c5a602840f2e0188478 100644 (file)
@@ -251,7 +251,7 @@ bool CCECProcessor::Transmit(CCECAdapterMessage *output)
       return bReturn;
     else
     {
-      output->condition.Wait(&output->mutex, 1000);
+      output->condition.Wait(&output->mutex);
       if (output->state != ADAPTER_MESSAGE_STATE_SENT)
       {
         m_controller->AddLog(CEC_LOG_ERROR, "command was not sent");