Skip to contentSkip to conversation

dvbv5-zap fix option lnb UNIVERSAL

PATCH New Jose Alberto Reguero 1 participant 1 message May 29, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dvbv5-zap fix option lnb UNIVERSAL

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

utils/dvb/dvbv5-zap.c +1 -1
index 14e8fd9..085bbf2 100644
@@ -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;