Commit f39de482 authored by Stephen Hemminger's avatar Stephen Hemminger

[PATCH] typo in net-drivers-2.5-exp 3c507

Fix auto-probing loop in new probing code for 3c507.
This patch is against net-drivers-2.5-exp repository.
Found by viro.
parent ae2b1120
......@@ -332,11 +332,11 @@ struct net_device * __init el16_probe(int unit)
else if (io != 0)
err = -ENXIO; /* Don't probe at all. */
else {
for (port = ports; *port; port++) {
err = el16_probe1(dev, io);
if (!err)
break;
}
for (port = ports; *port; port++) {
err = el16_probe1(dev, *port);
if (!err)
break;
}
}
if (err)
......
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