From: Lars Op den Kamp Date: Thu, 22 Dec 2011 23:47:15 +0000 (+0100) Subject: cec: fixed typo which prevented LG TVs from connecting sometimes X-Git-Tag: upstream/2.2.0~1^2~43^2~18 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e81c6777aada2aea5bff91fb88a8194d61ae4cd6;p=deb_libcec.git cec: fixed typo which prevented LG TVs from connecting sometimes --- diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index f86a644..c068540 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 && - iDestination != CECDEVICE_TV && + iInitiator != CECDEVICE_TV && m_processor->m_busDevices[iDestination]->GetVendorId(false) == CEC_VENDOR_LG) { cec_command command;