Browse Source

[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>
Mauro Carvalho Chehab 13 years ago
parent
commit
6c4b78cbe6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/dvb/dvb-core/dvb_frontend.c

+ 1 - 0
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);