diff options
author | Andrew Lunn <andrew@lunn.ch> | 2015-08-31 15:56:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-31 14:48:02 -0700 |
commit | 34b31da486a5e4eda9ff548ebf6dc3adc167bd0c (patch) | |
tree | 0394017fa6fc48d665452780ba481d74108ccf10 /net | |
parent | dea870242a9c4ea74b3ca0f2da3f864c47484cff (diff) |
phy: fixed_phy: Set supported speed in phydev
Set the supported field of the phydev to indicate the speed features
of the phy. If the phy is never attached to a netdev, but used in an
adjust_link() function, the speed will be incorrectly evaluated to
10/half rather than the correct speed/duplex.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions