mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct an inverted check in r213893.
This commit is contained in:
parent
0534aae0ce
commit
8edfedadeb
1 changed files with 1 additions and 1 deletions
|
|
@ -1461,7 +1461,7 @@ xl_attach(device_t dev)
|
|||
* control registers at all MII addresses.
|
||||
*/
|
||||
phy = MII_PHY_ANY;
|
||||
if ((sc->xl_flags & XL_FLAG_PHYOK) != 0)
|
||||
if ((sc->xl_flags & XL_FLAG_PHYOK) == 0)
|
||||
phy = 24;
|
||||
error = mii_attach(dev, &sc->xl_miibus, ifp, xl_ifmedia_upd,
|
||||
xl_ifmedia_sts, BMSR_DEFCAPMASK, phy, MII_OFFSET_ANY, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue