drivers: ethernet: phy_mii: Fix invalid phy_id check
When there'is no phy at the address both registers will return
0xFFFF, giving a phy address of UINT32_MAX, not 0x00FFFFFF.
Signed-off-by:
Andriy Gelman <andriy.gelman@gmail.com>
Loading
Please sign in to comment