mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Correct a logic bug in the previous change.
This commit is contained in:
parent
eff9c72b4b
commit
e54f674652
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ rlphy_probe(device_t dev)
|
|||
return (rv);
|
||||
|
||||
nic = device_get_name(device_get_parent(device_get_parent(dev)));
|
||||
if (strcmp(nic, "rl") == 0 && strcmp(nic, "re") == 0)
|
||||
if (strcmp(nic, "rl") == 0 || strcmp(nic, "re") == 0)
|
||||
return (mii_phy_dev_probe(dev, rlintphys, BUS_PROBE_DEFAULT));
|
||||
return (ENXIO);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue