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-Tag: v2.6.26-rc1~1084^2~249 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7809a07663f868f596b5f08a63db9a32240502c;p=linux-2.6 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 3c455795d1..4a025849a3 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)