cec: fixed typo which prevented LG TVs from connecting sometimes
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 22 Dec 2011 23:47:15 +0000 (00:47 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 22 Dec 2011 23:47:15 +0000 (00:47 +0100)
src/lib/implementations/SLCommandHandler.cpp

index f86a644f2db452804a19baa3c32f4e37fa83d7ba..c068540c486db3ce8bf92bc775ad3b9d8b6eb807 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 &&
-      iDestination != CECDEVICE_TV &&
+      iInitiator != CECDEVICE_TV &&
       m_processor->m_busDevices[iDestination]->GetVendorId(false) == CEC_VENDOR_LG)
   {
     cec_command command;