Update src/lib/devices/CECBusDevice.cpp
authorghuron <andrew.zaikin@gmail.com>
Thu, 17 Nov 2011 14:58:31 +0000 (18:58 +0400)
committerghuron <andrew.zaikin@gmail.com>
Thu, 17 Nov 2011 14:58:31 +0000 (18:58 +0400)
src/lib/devices/CECBusDevice.cpp

index d4d3814768cbe6828c8894fafe07a6571ce24b2f..1fca4a513f04ce99073210d31c0586e806a8374e 100644 (file)
@@ -535,7 +535,7 @@ bool CCECBusDevice::TransmitVendorID(cec_logical_address dest)
     AddLog(CEC_LOG_NOTICE, strLog);
 
     cec_command command;
-    cec_command::Format(command, m_iLogicalAddress, dest, CEC_OPCODE_GIVE_DEVICE_VENDOR_ID);
+    cec_command::Format(command, m_iLogicalAddress, CECDEVICE_BROADCAST, CEC_OPCODE_DEVICE_VENDOR_ID);
 
     command.parameters.PushBack((uint8_t) (((uint64_t)m_vendor >> 16) & 0xFF));
     command.parameters.PushBack((uint8_t) (((uint64_t)m_vendor >> 8) & 0xFF));