From: Jaroslav Kysela Date: Tue, 28 Apr 2015 12:49:52 +0000 (+0200) Subject: linuxdvb: use DTV_LNA only when set, fixes #2807 X-Git-Tag: v4.1~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97229aa8817f2cb6c45e6185b7509d22915946ee;p=thirdparty%2Ftvheadend.git linuxdvb: use DTV_LNA only when set, fixes #2807 --- diff --git a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c index 1bdcc76e5..211a4eac0 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c @@ -1417,7 +1417,8 @@ linuxdvb_frontend_tune0 #endif } #if DVB_VER_ATLEAST(5,9) - S2CMD(DTV_LNA, lfe->lfe_lna ? 1 : 0); + if (lfe->lfe_lna) + S2CMD(DTV_LNA, 1); #endif /* DVB-C */