if (lfe->lfe_fe_fd > 0) {
close(lfe->lfe_fe_fd);
lfe->lfe_fe_fd = -1;
+ if (lfe->lfe_satconf)
+ linuxdvb_satconf_reset(lfe->lfe_satconf);
}
gtimer_disarm(&lfe->lfe_monitor_timer);
tvhtrace("linuxdvb", "%s - closing frontend", buf);
close(lfe->lfe_fe_fd);
lfe->lfe_fe_fd = -1;
+ if (lfe->lfe_satconf)
+ linuxdvb_satconf_reset(lfe->lfe_satconf);
}
/* Check accessibility */
int linuxdvb_satconf_start_mux
( linuxdvb_satconf_t *ls, mpegts_mux_instance_t *mmi );
+void linuxdvb_satconf_reset
+ ( linuxdvb_satconf_t *ls );
+
#endif /* __TVH_LINUXDVB_PRIVATE_H__ */
return linuxdvb_satconf_ele_tune(lse);
}
+/*
+ *
+ */
+void
+linuxdvb_satconf_reset
+ ( linuxdvb_satconf_t *ls )
+{
+ ls->ls_last_switch = NULL;
+ ls->ls_last_pol = 0;
+ ls->ls_last_toneburst = 0;
+}
+
/* **************************************************************************
* Create/Delete satconf
* *************************************************************************/