From: Jaroslav Kysela Date: Sat, 3 Nov 2018 20:58:44 +0000 (+0100) Subject: linuxdvb: do not call linuxdvb_satconf_power_save for non DVB-S frontents, fixes... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1648c7b7b5cfe4ce457e4fc04b96feb3c9b7d8a2;p=thirdparty%2Ftvheadend.git linuxdvb: do not call linuxdvb_satconf_power_save for non DVB-S frontents, fixes #5311 --- diff --git a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c index 113a90735..82021020f 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c @@ -874,7 +874,7 @@ linuxdvb_frontend_monitor ( void *aux ) /* Close FE */ if (lfe->lfe_fe_fd > 0 && !lfe->lfe_refcount && lfe->lfe_powersave) { - if (linuxdvb_satconf_power_save(lfe->lfe_satconf) > 0) { + if (lfe->lfe_satconf && linuxdvb_satconf_power_save(lfe->lfe_satconf) > 0) { /* re-arm */ mtimer_arm_rel(&lfe->lfe_monitor_timer, linuxdvb_frontend_monitor, lfe, sec2mono(1)); return;