summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-01-05 11:24:41 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-05 16:43:04 -0200
commit6c4b78cbe64fad1c7a561d22014842f8eafbda47 (patch)
treee68da1407c0a39a6372c7b134d9bca6ebe396a15
parenteeecd0caaf9ce13ecd34187efae993d59a156135 (diff)
downloadlinux-6c4b78cbe64fad1c7a561d22014842f8eafbda47.tar.bz2
[media] dvb_frontend: regression fix: add a missing inc inside the loop
without it, the loop will run forever! Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 678e329796a1..cd3c0f67c85d 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1481,6 +1481,7 @@ static int set_delivery_system(struct dvb_frontend *fe, u32 desired_system)
__func__, desired_system);
return 0;
}
+ ncaps++;
}
type = dvbv3_type(desired_system);