Get rid of the b44 'BUG! Timeout waiting for bit 80000000 of register 428 to clear...
[openwrt/openwrt.git] / target / linux / brcm47xx / patches-2.6.35 / 211-b44_timeout_spam.patch
1 --- a/drivers/net/b44.c
2 +++ b/drivers/net/b44.c
3 @@ -190,11 +190,12 @@ static int b44_wait_bit(struct b44 *bp,
4 break;
5 udelay(10);
6 }
7 +#if 0
8 if (i == timeout) {
9 if (net_ratelimit())
10 netdev_err(bp->dev, "BUG! Timeout waiting for bit %08x of register %lx to %s\n",
11 bit, reg, clear ? "clear" : "set");
12 -
13 +#endif
14 return -ENODEV;
15 }
16 return 0;