Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
inputs (linuxdvb, satip, tvhdhomerun): fix config save
  • Loading branch information
perexg committed Mar 15, 2016
1 parent ae6c645 commit f2fba6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/input/mpegts/linuxdvb/linuxdvb_adapter.c
Expand Up @@ -499,7 +499,7 @@ linuxdvb_adapter_del ( const char *path )
}
if (!th) return;

idnode_save_check(&la->th_id, 1);
idnode_save_check(&la->th_id, 0);

/* Delete the frontends */
for (lfe = LIST_FIRST(&la->la_frontends); lfe != NULL; lfe = next) {
Expand Down
2 changes: 1 addition & 1 deletion src/input/mpegts/satip/satip.c
Expand Up @@ -726,7 +726,7 @@ satip_device_destroy( satip_device_t *sd )

mtimer_disarm(&sd->sd_destroy_timer);

idnode_save_check(&sd->th_id, 1);
idnode_save_check(&sd->th_id, 0);

while ((lfe = TAILQ_FIRST(&sd->sd_frontends)) != NULL)
satip_frontend_delete(lfe);
Expand Down
2 changes: 1 addition & 1 deletion src/input/mpegts/tvhdhomerun/tvhdhomerun.c
Expand Up @@ -441,7 +441,7 @@ tvhdhomerun_device_destroy( tvhdhomerun_device_t *hd )

mtimer_disarm(&hd->hd_destroy_timer);

idnode_save_check(&hd->th_id, 1);
idnode_save_check(&hd->th_id, 0);

tvhlog(LOG_INFO, "tvhdhomerun", "Releasing locks for devices");
while ((lfe = TAILQ_FIRST(&hd->hd_frontends)) != NULL) {
Expand Down

0 comments on commit f2fba6e

Please sign in to comment.