Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
[cascardo/linux.git] / drivers / net / niu.c
index 8ce58c4..2aed2b3 100644 (file)
@@ -2844,7 +2844,7 @@ static int tcam_wait_bit(struct niu *np, u64 bit)
                        break;
                udelay(1);
        }
-       if (limit < 0)
+       if (limit <= 0)
                return -ENODEV;
 
        return 0;