]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sungem.c
wimax/i2400m: drop support for deprecated major fw interface, add for new minor
[linux-2.6-omap-h63xx.git] / drivers / net / sungem.c
index 5322bb79b2b5347cbcb58ad6f5f90d8c45a59329..c3e6aa137cdf299dc374fbe3e4a30766a207b921 100644 (file)
@@ -1157,7 +1157,7 @@ static void gem_pcs_reset(struct gem *gp)
                if (limit-- <= 0)
                        break;
        }
-       if (limit <= 0)
+       if (limit < 0)
                printk(KERN_WARNING "%s: PCS reset bit would not clear.\n",
                       gp->dev->name);
 }