From b155d19ae0d1edfabda4991c747ea73b7a4c1471 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 8 Mar 2013 13:31:57 +0100 Subject: [PATCH] always poll a device when the status is unknown, and don't try to determine whether it needs to be polled by checking the status of other devices --- src/lib/devices/CECBusDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index 4d9c56a..e249a0b 100644 --- a/src/lib/devices/CECBusDevice.cpp +++ b/src/lib/devices/CECBusDevice.cpp @@ -781,7 +781,7 @@ cec_bus_device_status CCECBusDevice::GetStatus(bool bForcePoll /* = false */, bo if (bNeedsPoll) { bool bPollAcked(false); - if (bNeedsPoll && NeedsPoll()) + if (bNeedsPoll) bPollAcked = m_processor->PollDevice(m_iLogicalAddress); status = bPollAcked ? CEC_DEVICE_STATUS_PRESENT : CEC_DEVICE_STATUS_NOT_PRESENT; -- 2.34.1