cec: lg expects the device type on 89:05. set deck status 0x20 only for recorders
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 11 Feb 2012 21:24:28 +0000 (22:24 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 11 Feb 2012 21:27:33 +0000 (22:27 +0100)
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);
 }