openwrtv4/target/linux/brcm47xx/patches-2.6.34/211-b44_timeout_spam.patch

17 lines
369 B
Diff
Raw Normal View History

--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -190,11 +190,12 @@ static int b44_wait_bit(struct b44 *bp,
break;
udelay(10);
}
+#if 0
if (i == timeout) {
if (net_ratelimit())
netdev_err(bp->dev, "BUG! Timeout waiting for bit %08x of register %lx to %s\n",
bit, reg, clear ? "clear" : "set");
-
+#endif
return -ENODEV;
}
return 0;