From: Lars Op den Kamp Date: Fri, 27 Jan 2012 20:01:13 +0000 (+0100) Subject: cec: set the ackmask to 0x0 when trying to find a free logical address X-Git-Tag: upstream/2.2.0~1^2~36^2~42 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b81f75db39e879e2fe05c7cbdbb2293140fea6d1;p=deb_libcec.git cec: set the ackmask to 0x0 when trying to find a free logical address --- diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index 46e618c..48b75d7 100644 --- a/src/lib/devices/CECBusDevice.cpp +++ b/src/lib/devices/CECBusDevice.cpp @@ -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());