linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dvbv5-zap fix option lnb UNIVERSAL
@ 2014-05-29 13:07 Jose Alberto Reguero
  0 siblings, 0 replies; only message in thread
From: Jose Alberto Reguero @ 2014-05-29 13:07 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvallo Chehab

This patch fix the option lnb UNIVERSAL for dvbv5-zap. Without the patch, the option don't work.

Signed-off-by: Jose Alberto Reguero <jose.alberto.reguero@gmail.com>

diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c
index 14e8fd9..085bbf2 100644
--- a/utils/dvb/dvbv5-zap.c
+++ b/utils/dvb/dvbv5-zap.c
@@ -773,7 +773,7 @@ int main(int argc, char **argv)
        parms = dvb_fe_open(args.adapter, args.frontend, args.verbose, args.force_dvbv3);
        if (!parms)
                goto err;
-       if (lnb)
+       if (lnb >= 0)
                parms->lnb = dvb_sat_get_lnb(lnb);
        if (args.sat_number > 0)
                parms->sat_number = args.sat_number % 3;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-29 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-29 13:07 [PATCH] dvbv5-zap fix option lnb UNIVERSAL Jose Alberto Reguero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).