}
/* Stop timer */
- if (!mmi) return;
+ if (!mmi || !lfe->lfe_ready) return;
/* re-arm */
gtimer_arm(&lfe->lfe_monitor_timer, linuxdvb_frontend_monitor, lfe, 1);
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,
}
}
-status:
/* Send message */
sigstat.status_text = signal2str(status);
sigstat.snr = mmi->mmi_stats.snr;