cec: fixed - commands that were forwarded to clients used the source address of the...
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.cpp
index e06eb2bc8f14aacba99ec482d0895c598605ef5d..03165e9c2cf91ec613a4def5b4cd901f2dbcff5e 100644 (file)
@@ -73,9 +73,7 @@ bool CCECCommandHandler::HandleCommand(const cec_command &command)
 
   int iHandled(CEC_ABORT_REASON_UNRECOGNIZED_OPCODE);
 
-  CCECClient *client = m_busDevice->GetClient();
-  if (client)
-    client->AddCommand(command);
+  LIB_CEC->AddCommand(command);
 
   switch(command.opcode)
   {