From: Lars Op den Kamp Date: Mon, 14 May 2012 08:35:01 +0000 (+0200) Subject: cec: use the correct source when transmitting an abort message as a reposonse to... X-Git-Tag: upstream/2.2.0~1^2~28^2~21 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1d2cc19492ed1f63fff6acef18628715985ef1e3;p=deb_libcec.git cec: use the correct source when transmitting an abort message as a reposonse to a vendor command with id --- diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index 813b416..f35dd32 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -246,7 +246,7 @@ bool CCECCommandHandler::HandleDeviceCecVersion(const cec_command &command) bool CCECCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &command) { if (m_processor->IsRunning() && m_processor->IsHandledByLibCEC(command.destination)) - m_processor->TransmitAbort(m_busDevice->GetLogicalAddress(), command.initiator, command.opcode, CEC_ABORT_REASON_REFUSED); + m_processor->TransmitAbort(command.destination, command.initiator, command.opcode, CEC_ABORT_REASON_REFUSED); return true; }