]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: ensure inband AN works correctly
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 20 May 2019 15:07:20 +0000 (16:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 May 2019 20:11:54 +0000 (13:11 -0700)
commitfbb02213849c640822af455ba55930c2c59f07b5
tree75923b5f7517ac6eefc779401ecc920c4695df4d
parentcc3a194ab89f177685c2e9a6fe12dd1384600cb4
net: phylink: ensure inband AN works correctly

Do not update the link interface mode while the link is down to avoid
spurious link interface changes.

Always call mac_config if we have a PHY to propagate the pause mode
settings to the MAC.

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