]> asedeno.scripts.mit.edu Git - linux.git/commit
net: phylink: only call mac_config() during resolve when link is up
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 11 Feb 2019 11:46:01 +0000 (11:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 17:22:20 +0000 (12:22 -0500)
commit0946cf1dc7b6da951b4eb3fbcfd8e926dd0e787b
tree93ae537e91a8e0cbaae67b60bd840835add96600
parentda203dfa89ce83c55b6623f73560ef7ec742aca4
net: phylink: only call mac_config() during resolve when link is up

There's little point calling mac_config() when the link is down.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c