summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.8/211-b44_timeout_spam.patch
blob: c2eb3ad90b735110661f78196aae368dea8310a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/drivers/net/ethernet/broadcom/b44.c
+++ b/drivers/net/ethernet/broadcom/b44.c
@@ -187,10 +187,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;