Revert "cec: fixed typo which prevented LG TVs from connecting sometimes". This broke...
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 23 Dec 2011 01:14:59 +0000 (02:14 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 23 Dec 2011 01:14:59 +0000 (02:14 +0100)
This reverts commit e81c6777aada2aea5bff91fb88a8194d61ae4cd6.

src/lib/implementations/SLCommandHandler.cpp

index c068540c486db3ce8bf92bc775ad3b9d8b6eb807..f86a644f2db452804a19baa3c32f4e37fa83d7ba 100644 (file)
@@ -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;