diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 5b3d60568d55..479a37f75f30 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -852,7 +852,7 @@ static int tg3_bmcr_reset(struct tg3 *tp) | |||
852 | } | 852 | } |
853 | udelay(10); | 853 | udelay(10); |
854 | } | 854 | } |
855 | if (limit <= 0) | 855 | if (limit < 0) |
856 | return -EBUSY; | 856 | return -EBUSY; |
857 | 857 | ||
858 | return 0; | 858 | return 0; |
@@ -1603,7 +1603,7 @@ static int tg3_wait_macro_done(struct tg3 *tp) | |||
1603 | break; | 1603 | break; |
1604 | } | 1604 | } |
1605 | } | 1605 | } |
1606 | if (limit <= 0) | 1606 | if (limit < 0) |
1607 | return -EBUSY; | 1607 | return -EBUSY; |
1608 | 1608 | ||
1609 | return 0; | 1609 | return 0; |