From: Mauro Carvalho Chehab Date: Thu, 5 Jan 2012 13:24:41 +0000 (-0200) Subject: [media] dvb_frontend: regression fix: add a missing inc inside the loop X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6c4b78cbe64fad1c7a561d22014842f8eafbda47;p=linux-beck.git [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 --- 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);