From 5827f4aa75371f5633afbc4fd98336a08f39352f Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 23 Dec 2011 02:14:59 +0100 Subject: [PATCH] Revert "cec: fixed typo which prevented LG TVs from connecting sometimes". This broke TV power on This reverts commit e81c6777aada2aea5bff91fb88a8194d61ae4cd6. --- src/lib/implementations/SLCommandHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index c068540..f86a644 100644 --- a/src/lib/implementations/SLCommandHandler.cpp +++ b/src/lib/implementations/SLCommandHandler.cpp @@ -305,7 +305,7 @@ bool CSLCommandHandler::InitHandler(void) bool CSLCommandHandler::TransmitPowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination) { if (iDestination != CECDEVICE_BROADCAST && - iInitiator != CECDEVICE_TV && + iDestination != CECDEVICE_TV && m_processor->m_busDevices[iDestination]->GetVendorId(false) == CEC_VENDOR_LG) { cec_command command; -- 2.34.1