Revert "cec: fixed typo which prevented LG TVs from connecting sometimes". This broke...
[deb_libcec.git] / 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;