From: Lars Op den Kamp Date: Fri, 23 Dec 2011 01:14:59 +0000 (+0100) Subject: Revert "cec: fixed typo which prevented LG TVs from connecting sometimes". This broke... X-Git-Tag: upstream/2.2.0~1^2~43^2~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5827f4aa75371f5633afbc4fd98336a08f39352f;p=deb_libcec.git Revert "cec: fixed typo which prevented LG TVs from connecting sometimes". This broke TV power on This reverts commit e81c6777aada2aea5bff91fb88a8194d61ae4cd6. --- 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;