cec: set the proper ackmask before doing anything else. set the LG vendor ID after...
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.cpp
index 713eebbde364432419673e8ba6593c987d6ceaf0..809558be4d814bc71ebfde6fa331ef8c1b5a7531 100644 (file)
@@ -256,7 +256,10 @@ bool CSLCommandHandler::InitHandler(void)
 
   CCECBusDevice *primary = m_processor->m_busDevices[m_processor->GetLogicalAddresses().primary];
   if (m_busDevice->GetLogicalAddress() != primary->GetLogicalAddress())
+  {
     primary->SetVendorId(CEC_VENDOR_LG, false);
+    primary->TransmitVendorID(CECDEVICE_TV, false);
+  }
 
   if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV)
   {