Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "linuxdvb: handle lfe_ready better - send status all time"
This reverts commit 91f3b2c.
  • Loading branch information
perexg committed Aug 17, 2014
1 parent b886d19 commit ff0e7ef
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -486,7 +486,7 @@ linuxdvb_frontend_monitor ( void *aux )
}

/* Stop timer */
if (!mmi) return;
if (!mmi || !lfe->lfe_ready) return;

/* re-arm */
gtimer_arm(&lfe->lfe_monitor_timer, linuxdvb_frontend_monitor, lfe, 1);
Expand All @@ -506,12 +506,6 @@ linuxdvb_frontend_monitor ( void *aux )
else
status = SIGNAL_NONE;

if (!lfe->lfe_ready) {
/* send the status message to the higher layers _always_ */
status = SIGNAL_NONE;
goto status;
}

/* Set default period */
if (fe_status != lfe->lfe_status) {
tvhdebug("linuxdvb", "%s - status %7s (%s%s%s%s%s%s)", buf,
Expand Down Expand Up @@ -767,7 +761,6 @@ linuxdvb_frontend_monitor ( void *aux )
}
}

status:
/* Send message */
sigstat.status_text = signal2str(status);
sigstat.snr = mmi->mmi_stats.snr;
Expand Down

0 comments on commit ff0e7ef

Please sign in to comment.