Change so that adding first initial scan will cause immediate firing of timer rather than directly calling the mux scan routine. The old approach breaks when a single MUX is present on a tuner with idle scanning enabled.

This commit is contained in:
Adam Sutton 2012-08-22 10:20:50 +01:00
parent 708b21897f
commit a2e3430801

View file

@ -74,7 +74,7 @@ mux_link_initial(th_dvb_adapter_t *tda, th_dvb_mux_instance_t *tdmi)
if(was_empty && (tda->tda_mux_current == NULL ||
tda->tda_mux_current->tdmi_table_initial == 0))
dvb_adapter_mux_scanner(tda);
gtimer_arm(&tda->tda_mux_scanner_timer, dvb_adapter_mux_scanner, tda, 0);
}
/**