fixed typo in CCECBusDevice::SetActiveRoute(). issue #89
[deb_libcec.git] / src / lib / devices / CECBusDevice.cpp
index 3217f7151bbbaf64674827901a2c134f9f1f5a50..b7b08c71e5e16922bd74af9ba8043f2dbb162bb8 100644 (file)
@@ -1133,7 +1133,7 @@ void CCECBusDevice::SetActiveRoute(uint16_t iRoute)
   CCECBusDevice* newRoute = m_processor->GetDeviceByPhysicalAddress(iRoute, true);
   if (newRoute && newRoute->IsHandledByLibCEC())
   {
-    ActivateSource();
+    newRoute->ActivateSource();
     return;
   }