From 3e0675a6fe4697eaaa8eb49748736436e3ec6053 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 24 Nov 2011 23:29:49 +0100 Subject: [PATCH] cec: devices can send vendor commands from other vendors, so don't assume the device is of a certain vendor when it sends commands with a vendor id --- src/lib/implementations/CECCommandHandler.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index a23ba66..c273784 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -181,8 +181,6 @@ bool CCECCommandHandler::HandleDeviceCecVersion(const cec_command &command) bool CCECCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &command) { - SetVendorId(command); - if (m_busDevice->MyLogicalAddressContains(command.destination)) m_busDevice->GetProcessor()->TransmitAbort(command.initiator, command.opcode, CEC_ABORT_REASON_REFUSED); -- 2.34.1