commit | ef7bfa84725d891bbdb88707ed55b2cbf94942bb | [log] [tgz] |
---|---|---|
author | Ioana Ciornei <ioana.ciornei@nxp.com> | Thu Jun 13 09:37:51 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 15 13:29:32 2019 -0700 |
tree | 22137c5cb7422c35ee37ace2d26823a1912ed6bf | |
parent | 35fc07aee8f6d55aeacdbfdccc425e684737f741 [diff] |
net: phylink: set the autoneg state in phylink_phy_change The phy_state field of phylink should carry only valid information especially when this can be passed to the .mac_config callback. Update the an_enabled field with the autoneg state in the phylink_phy_change function. Fixes: 9525ae83959b ("phylink: add phylink infrastructure") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>