浏览代码

[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 年之前
父节点
当前提交
6c4b78cbe6
共有 1 个文件被更改,包括 1 次插入0 次删除
  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);