From: Michael Krufky Date: Tue, 22 Apr 2008 17:46:22 +0000 (-0300) Subject: V4L/DVB (7433): tda18271: fix comparison bug in tda18271_powerscan X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e7809a07663f868f596b5f08a63db9a32240502c;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB (7433): tda18271: fix comparison bug in tda18271_powerscan Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index 3c455795d1ac..4a025849a327 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c @@ -422,7 +422,7 @@ static int tda18271_powerscan(struct dvb_frontend *fe, count += 200; - if (count < count_limit) + if (count <= count_limit) continue; if (sgn <= 0)