openwrtv4/target/linux/brcm47xx/patches-2.6.38/211-b44_timeout_spam.patch
Hauke Mehrtens 340c6914a3 brcm47xx: add initial support for kernel 2.6.38
SVN-Revision: 26524
2011-04-07 21:38:41 +00:00

15 lines
357 B
Diff

--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -188,10 +188,11 @@ static int b44_wait_bit(struct b44 *bp,
udelay(10);
}
if (i == timeout) {
+#if 0
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;