Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6ca057f authored by Jochen Friedrich's avatar Jochen Friedrich Committed by David S. Miller
Browse files

b44: Ratelimit timeout error message.

parent 47d74275
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -189,7 +189,9 @@ static int b44_wait_bit(struct b44 *bp, unsigned long reg,
		udelay(10);
	}
	if (i == timeout) {
		printk(KERN_ERR PFX "%s: BUG!  Timeout waiting for bit %08x of register "
		if (net_ratelimit())
			printk(KERN_ERR PFX "%s: BUG!  Timeout waiting for bit "
			       "%08x of register "
			       "%lx to %s.\n",
			       bp->dev->name,
			       bit, reg,