openwrtv4/target/linux/brcm47xx-2.6/patches/180-b44_timeout.patch
Florian Fainelli a102009792 Reduce the probing time, should fix #1212
SVN-Revision: 7085
2007-05-03 10:23:05 +00:00

12 lines
401 B
Diff

diff -urN linux-2.6.19.2/drivers/net/b44.c linux-2.6.19.2.new/drivers/net/b44.c
--- linux-2.6.19.2/drivers/net/b44.c 2007-05-03 12:22:54.000000000 +0200
+++ linux-2.6.19.2.new/drivers/net/b44.c 2007-05-03 12:23:19.000000000 +0200
@@ -1640,7 +1640,7 @@
bw32(bp, B44_RXCONFIG, val);
} else {
unsigned char zero[6] = {0, 0, 0, 0, 0, 0};
- int i = 0;
+ int i = 1;
__b44_set_mac_addr(bp);