add stop service
[enigma2.git] / lib / dvb / scan.cpp
index 4188b643fd5cf2af26fd718a00e5363bf3da9306..2be8a66db0cc23b6ca559d9522b9c663ab052799 100644 (file)
@@ -69,11 +69,12 @@ void eDVBScan::stateChange(iDVBChannel *ch)
        {
                startFilter();
                m_channel_state = state;
-       } else if (state == iDVBChannel::state_unavailable)
+       } else if (state == iDVBChannel::state_failed)
        {
                m_ch_unavailable.push_back(m_ch_current);
                nextChannel();
        }
+                       /* unavailable will timeout, anyway. */
 }
 
 RESULT eDVBScan::nextChannel()