Skip to content
Commit a83c8829 authored by Russell King's avatar Russell King Committed by David S. Miller
Browse files

net: phylink: use config.an_enabled in ksettings_set method



Rather than recomputing whether AN is enabled, use config.an_enabled.

Suggested-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cbc1bb1e
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