no need to cache the physical address of the active source in the device map; the...
[deb_libcec.git] / src / lib / devices / CECBusDevice.cpp
index d50045af89eebe2ad5e3aaefbd5d29755d8a95ea..fd2a348a64a7bc6d87064fa2a298db9c1df59457 100644 (file)
@@ -537,9 +537,6 @@ bool CCECBusDevice::SetPhysicalAddress(uint16_t iNewAddress)
   {
     LIB_CEC->AddLog(CEC_LOG_DEBUG, "%s (%X): physical address changed from %04x to %04x", GetLogicalAddressName(), m_iLogicalAddress, m_iPhysicalAddress, iNewAddress);
     m_iPhysicalAddress = iNewAddress;
-
-    if (m_processor->GetDevices()->GetActiveSourceAddress() == iNewAddress)
-      MarkAsActiveSource();
   }
   return true;
 }