Signed-off-by: André Roth <neol...@gmail.com>
---
 lib/libdvbv5/dvb-fe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c
index 4fb927a..9b18226 100644
--- a/lib/libdvbv5/dvb-fe.c
+++ b/lib/libdvbv5/dvb-fe.c
@@ -392,8 +392,8 @@ int dvb_set_compat_delivery_system(struct dvb_v5_fe_parms 
*parms,
        for (i = 0; i < parms->num_systems; i++) {
                if (parms->systems[i] == desired_system) {
                        dvb_set_sys(parms, desired_system);
+                       return 0;
                }
-               return 0;
        }
 
        /*
-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to