+
+ if (linked_to != -1) // check for linked tuners..
+ {
+ bool found=false;
+ eSmartPtrList<eDVBRegisteredFrontend>::iterator it(m_avail_frontends.begin());
+ for (; it != m_avail_frontends.end(); ++it)
+ if ( !linked_to )
+ {
+ found=true;
+ break;
+ }
+ else
+ --linked_to;
+
+ if (found && it->m_inuse)
+ {
+ int lastcsw = -1,
+ lastucsw = -1,
+ lastToneburst = -1,
+ curRotorPos = -1;
+ it->m_frontend->getData(0, lastcsw);
+ it->m_frontend->getData(1, lastucsw);
+ it->m_frontend->getData(2, lastToneburst);
+ it->m_frontend->getData(6, curRotorPos);
+
+ if (csw != lastcsw || ucsw != lastucsw ||
+ toneburst != lastToneburst || curRotorPos != sat.orbital_position )
+ {
+ eDebug("can not tune this transponder with linked tuner in use!!");
+ ret=0;
+ }
+ else
+ eDebug("OK .. can tune this transponder with linked tuner in use :)");
+ }
+ }