Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
otamux: do not requeue muxes with failed scan status
  • Loading branch information
perexg committed Jan 20, 2015
1 parent 8018b54 commit abea248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/epggrab/otamux.c
Expand Up @@ -192,7 +192,7 @@ epggrab_ota_done ( epggrab_ota_mux_t *om, int reason )
om->om_q_type = EPGGRAB_OTA_MUX_IDLE;
if (reason == EPGGRAB_OTA_DONE_STOLEN) {
/* Do not requeue completed muxes */
if (!om->om_done && om->om_requeue) {
if (!om->om_done && om->om_requeue && mm->mm_scan_result != MM_SCAN_FAIL) {
TAILQ_INSERT_HEAD(&epggrab_ota_pending, om, om_q_link);
om->om_q_type = EPGGRAB_OTA_MUX_PENDING;
} else {
Expand Down

0 comments on commit abea248

Please sign in to comment.