brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
authorFelix Fietkau <nbd@openwrt.org>
Sat, 10 Jul 2010 12:17:41 +0000 (12:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 10 Jul 2010 12:17:41 +0000 (12:17 +0000)
SVN-Revision: 22116

target/linux/brcm47xx/patches-2.6.34/211-b44_timeout_spam.patch
target/linux/brcm47xx/patches-2.6.35/211-b44_timeout_spam.patch

index d5ade16c70844d507ab4c63753c038eaef89136d..8e1615f770e54cb40f640abc13aa53043e01c83d 100644 (file)
@@ -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");
index d5ade16c70844d507ab4c63753c038eaef89136d..925197bc83a05d91d4d8a72e588f2e85f4c7c0e0 100644 (file)
@@ -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");