brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35

SVN-Revision: 22116
master
Felix Fietkau 14 years ago
parent c788e49ab7
commit 9c8d55541a
  1. 5
      target/linux/brcm47xx/patches-2.6.34/211-b44_timeout_spam.patch
  2. 5
      target/linux/brcm47xx/patches-2.6.35/211-b44_timeout_spam.patch

@ -1,11 +1,10 @@
--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -190,11 +190,12 @@ static int b44_wait_bit(struct b44 *bp,
break;
@@ -191,10 +190,11 @@ static int b44_wait_bit(struct b44 *bp,
udelay(10);
}
+#if 0
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");

@ -1,11 +1,10 @@
--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -190,11 +190,12 @@ static int b44_wait_bit(struct b44 *bp,
break;
@@ -191,10 +191,11 @@ static int b44_wait_bit(struct b44 *bp,
udelay(10);
}
+#if 0
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");

Loading…
Cancel
Save