cec: include the ack timeout in the cec_command struct
[deb_libcec.git] / src / lib / devices / CECBusDevice.cpp
index 5086e8b36f55240c4b5a764a972c7eb6a7d014de..75862b702179f2ad0314c9d348e8e15db8dfcfdc 100644 (file)
@@ -139,7 +139,8 @@ void CCECBusDevice::PollVendorId(void)
 
     cec_command command;
     cec_command::format(command, GetMyLogicalAddress(), GetLogicalAddress(), CEC_OPCODE_GIVE_DEVICE_VENDOR_ID);
-    m_processor->Transmit(command, false);
+    command.ack_timeout = 0;
+    m_processor->Transmit(command);
   }
 }