cec: devices can send vendor commands from other vendors, so don't assume the device...
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 24 Nov 2011 22:29:49 +0000 (23:29 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 24 Nov 2011 22:29:49 +0000 (23:29 +0100)
src/lib/implementations/CECCommandHandler.cpp

index a23ba660ff79c6d0fd397bec5da2ce90a435650f..c273784462963e1ad2dbf1b1fd4701fdc0fc65fb 100644 (file)
@@ -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);