Skip to content
Commit 1f9e672c authored by Alexandre Messier's avatar Alexandre Messier Committed by Joe Hershberger
Browse files

net: phy: Use 'autoneg' flag from phydev



Use the 'autoneg' flag available in phydev when checking if
autoneg is in use.

The previous implementation was checking directly in the PHY
if autoneg was supported. Some PHYs will report that autoneg
is supported, even when it is disabled. Thus it is not possible
to use that bit to determine if autoneg is currently in use or
not.

Signed-off-by: default avatarAlexandre Messier <amessier@tycoint.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 53b0c38c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment