Commit 1d280ddc authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

b43: Increase loop tries in do_dummy_tx

One of the spin-on-condition loops in routine do_dummy_tx always exits before
the condition is satisfied. The hardware might be left in an inconsistent
state that might be the cause of the PHY transmission errors seen by some
users.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1bef016a
...@@ -815,7 +815,7 @@ void b43_dummy_transmission(struct b43_wldev *dev) ...@@ -815,7 +815,7 @@ void b43_dummy_transmission(struct b43_wldev *dev)
break; break;
udelay(10); udelay(10);
} }
for (i = 0x00; i < 0x0A; i++) { for (i = 0x00; i < 0x19; i++) {
value = b43_read16(dev, 0x0690); value = b43_read16(dev, 0x0690);
if (!(value & 0x0100)) if (!(value & 0x0100))
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment