V4L/DVB (7433): tda18271: fix comparison bug in tda18271_powerscan
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 22 Apr 2008 17:46:22 +0000 (14:46 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:55 +0000 (14:07 -0300)
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/tda18271-fe.c

index 3c455795d1acf06ae47e7d7210f7b9436bcdd60e..4a025849a327c9d1b38579bcb6221cc8b071319b 100644 (file)
@@ -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)