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