Skip to content

Commit

Permalink
ignore vendor command with id from pioneer AVRs. bugzid: 3853
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed Feb 18, 2015
1 parent acd1264 commit b3d938a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/lib/implementations/CECCommandHandler.cpp
Expand Up @@ -270,6 +270,12 @@ int CCECCommandHandler::HandleDeviceVendorCommandWithId(const cec_command& comma
}
}

if (iVendorId == CEC_VENDOR_PIONEER && command.initiator == CECDEVICE_AUDIOSYSTEM)
{
/** ignore vendor commands from pioneer AVRs */
return CEC_ABORT_REASON_REFUSED;
}

return CEC_ABORT_REASON_INVALID_OPERAND;
}

Expand Down
3 changes: 1 addition & 2 deletions src/lib/implementations/RHCommandHandler.cpp
Expand Up @@ -60,6 +60,5 @@ int CRHCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &comman
{
// ignore unknown vendor commands sent by onkyo devices, bugzid: 2559
}
return CEC_ABORT_REASON_INVALID_OPERAND;

return CEC_ABORT_REASON_REFUSED;
}

0 comments on commit b3d938a

Please sign in to comment.