diff mbox

alevt-dvb now part of the dvb-apps - some critical remarks / enhancements

Message ID 1266171773.17110.25.camel@brian.bconsult.de (mailing list archive)
State Not Applicable
Headers show

Commit Message

Chicken Shack Feb. 14, 2010, 6:22 p.m. UTC
None
diff mbox

Patch

--- a/util/szap/szap.c
+++ b/util/szap/szap.c
@@ -201,7 +201,7 @@ 
 	 printf("FE_HAS_LOCK");
       printf("\n");

-      if (exit_after_tuning && ((status & FE_HAS_LOCK) || (++timeout >= 10)))
+      if (exit_after_tuning && ((status & FE_HAS_LOCK) && (++timeout == 5)))
          break;

       usleep(1000000);