cec: use the correct source address in CSLCommandHandler::HandleVendorCommand()
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 19 Nov 2011 01:18:51 +0000 (02:18 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 19 Nov 2011 01:18:51 +0000 (02:18 +0100)
src/lib/implementations/SLCommandHandler.cpp

index 1857ca9c2e4a15f6921d58e6214259d24e50b5ad..40c0066ad3d400f0467a8ac956f32b43e5b17cc3 100644 (file)
@@ -48,7 +48,7 @@ bool CSLCommandHandler::HandleVendorCommand(const cec_command &command)
   {
     /* enable SL */
     cec_command response;
-    cec_command::Format(response, m_busDevice->GetLogicalAddress(), command.initiator, CEC_OPCODE_VENDOR_COMMAND);
+    cec_command::Format(response, command.destination, command.initiator, CEC_OPCODE_VENDOR_COMMAND);
     response.PushBack(0x02);
     response.PushBack(0x05);