cec: set the ackmask to 0x0 when trying to find a free logical address
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 27 Jan 2012 20:01:13 +0000 (21:01 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 27 Jan 2012 20:01:13 +0000 (21:01 +0100)
src/lib/devices/CECBusDevice.cpp

index 46e618c8ad952398b7517ae01e02a4a345daf956..48b75d7dda6ad936424c1801817a73c94e453f6f 100644 (file)
@@ -496,7 +496,7 @@ bool CCECBusDevice::TryLogicalAddress(void)
 {
   CLibCEC::AddLog(CEC_LOG_DEBUG, "trying logical address '%s'", GetLogicalAddressName());
 
-  m_processor->SetAckMask(0x1 << m_iLogicalAddress);
+  m_processor->SetAckMask(0);
   if (!TransmitPoll(m_iLogicalAddress))
   {
     CLibCEC::AddLog(CEC_LOG_NOTICE, "using logical address '%s'", GetLogicalAddressName());