Revert "linuxdvb: handle lfe_ready better - send status all time"
This reverts commit 91f3b2c5f8
.
This commit is contained in:
parent
b886d1965c
commit
ff0e7ef198
1 changed files with 1 additions and 8 deletions
|
@ -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);
|
||||
|
@ -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,
|
||||
|
@ -767,7 +761,6 @@ linuxdvb_frontend_monitor ( void *aux )
|
|||
}
|
||||
}
|
||||
|
||||
status:
|
||||
/* Send message */
|
||||
sigstat.status_text = signal2str(status);
|
||||
sigstat.snr = mmi->mmi_stats.snr;
|
||||
|
|
Loading…
Add table
Reference in a new issue