network setup stuff
[enigma2.git] / lib / dvb / scan.cpp
index b6d0575bfafd32720ac6c0beb0880a143a9d6a4c..4b31aadaed0ecdf2b8c308a5b3edb3f1d2597ae9 100644 (file)
@@ -13,8 +13,8 @@
 #include <lib/base/eerror.h>
 #include <errno.h>
 
-#define SCAN_eDebug(x...)
-#define SCAN_eDebugNoNewLine(x...)
+#define SCAN_eDebug(x...) eDebug(x)
+#define SCAN_eDebugNoNewLine(x...) eDebugNoNewLine(x)
 
 DEFINE_REF(eDVBScan);
 
@@ -104,6 +104,7 @@ RESULT eDVBScan::nextChannel()
        m_channel_state = iDVBChannel::state_idle;
        if (fe->tune(*m_ch_current))
        {
+               return nextChannel();
                m_event(evtFail);
                return -EINVAL;
        }