Correct ota completion check.

This commit is contained in:
Adam Sutton 2012-06-29 21:41:08 +01:00
parent 903ef7d3a7
commit 07d9ee056e

View file

@ -269,7 +269,7 @@ void epggrab_ota_complete ( epggrab_ota_mux_t *ota )
/* Check others */
TAILQ_FOREACH(ota, &tdmi->tdmi_epg_grab, tdmi_link) {
if (ota->is_reg && ota->state != EPGGRAB_OTA_MUX_RUNNING) break;
if (ota->is_reg && ota->state == EPGGRAB_OTA_MUX_RUNNING) break;
}
/* All complete (bring timer forward) */