From: Lars Op den Kamp Date: Sat, 19 Nov 2011 01:18:51 +0000 (+0100) Subject: cec: use the correct source address in CSLCommandHandler::HandleVendorCommand() X-Git-Tag: upstream/2.2.0~1^2~44^2~122 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=305500533ee1524692ceaf3cb5f38d24225c5920;p=deb_libcec.git cec: use the correct source address in CSLCommandHandler::HandleVendorCommand() --- diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index 1857ca9..40c0066 100644 --- a/src/lib/implementations/SLCommandHandler.cpp +++ b/src/lib/implementations/SLCommandHandler.cpp @@ -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);