cec: use the correct source when transmitting an abort message as a reposonse to...
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 14 May 2012 08:35:01 +0000 (10:35 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 14 May 2012 08:41:01 +0000 (10:41 +0200)
src/lib/implementations/CECCommandHandler.cpp

index 813b416f0bc6ee79503b565102313f74758a4df4..f35dd329373a9adda70ae80b7194ef834c1f957f 100644 (file)
@@ -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;
 }