Browse Source

V4L/DVB (7433): tda18271: fix comparison bug in tda18271_powerscan

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Michael Krufky 17 years ago
parent
commit
e7809a0766
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/dvb/frontends/tda18271-fe.c

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