]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: rearrange resolve mac_config() call
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Jul 2020 11:03:55 +0000 (12:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 22:46:50 +0000 (15:46 -0700)
commitab5970fb16dec3c80f9c44f1d3ba3465a2c82447
tree52fa7e6418fa26a98430d52a150f2954a140254e
parentb1bb47dd74dce5e12090cf442776b55ded1189c2
net: phylink: rearrange resolve mac_config() call

Use a boolean to indicate whether mac_config() should be called during
a resolution. This allows resolution to have a single location where
mac_config() will be called, which will allow us to make decisions
about how and what we do.

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