summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-07-10 12:17:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-07-10 12:17:41 +0000
commit9c8d55541aa7481b025d26401822a3a01ced19a5 (patch)
treea4689d1d2ff73d2b399d705933274666f89d6f64
parentc788e49ab7d1ebe50472fd4a64c1646be25d7cfe (diff)
downloadmtk-20170518-9c8d55541aa7481b025d26401822a3a01ced19a5.zip
mtk-20170518-9c8d55541aa7481b025d26401822a3a01ced19a5.tar.gz
mtk-20170518-9c8d55541aa7481b025d26401822a3a01ced19a5.tar.bz2
brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
SVN-Revision: 22116
-rw-r--r--target/linux/brcm47xx/patches-2.6.34/211-b44_timeout_spam.patch5
-rw-r--r--target/linux/brcm47xx/patches-2.6.35/211-b44_timeout_spam.patch5
2 files changed, 4 insertions, 6 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.34/211-b44_timeout_spam.patch b/target/linux/brcm47xx/patches-2.6.34/211-b44_timeout_spam.patch
index d5ade16..8e1615f 100644
--- a/target/linux/brcm47xx/patches-2.6.34/211-b44_timeout_spam.patch
+++ b/target/linux/brcm47xx/patches-2.6.34/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");
diff --git a/target/linux/brcm47xx/patches-2.6.35/211-b44_timeout_spam.patch b/target/linux/brcm47xx/patches-2.6.35/211-b44_timeout_spam.patch
index d5ade16..925197b 100644
--- a/target/linux/brcm47xx/patches-2.6.35/211-b44_timeout_spam.patch
+++ b/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 +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");