cec: lg expects the device type on 89:05. set deck status 0x20 only for recorders
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.cpp
index 125a23ee01f7bfa1c30c01db990d39bd7e841807..2475e14ae28c786b8648f8288cd3b778f44eeca1 100644 (file)
@@ -228,7 +228,7 @@ void CSLCommandHandler::TransmitVendorCommand05(const cec_logical_address iSourc
   cec_command response;
   cec_command::Format(response, iSource, iDestination, CEC_OPCODE_VENDOR_COMMAND);
   response.PushBack(SL_COMMAND_CONNECT_ACCEPT);
-  response.PushBack((uint8_t)iSource);
+  response.PushBack((uint8_t)m_processor->m_busDevices[iSource]->GetType());
   Transmit(response, false);
 }