diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-02-17 18:36:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-20 21:29:49 +0100 |
commit | 54da5a8be3c1e924c35480eb44c6e9b275f6444e (patch) | |
tree | 0b30ead04b8db4b2cd0ce246b60483ef3ae55657 /firmware/Makefile | |
parent | ipv4: ip_check_defrag should correctly check return value of skb_copy_bits (diff) | |
download | linux-54da5a8be3c1e924c35480eb44c6e9b275f6444e.tar.xz linux-54da5a8be3c1e924c35480eb44c6e9b275f6444e.zip |
net: phy: Fix verification of EEE support in phy_init_eee
phy_init_eee uses phy_find_setting(phydev->speed, phydev->duplex)
to find a valid entry in the settings array for the given speed
and duplex value. For full duplex 1000baseT, this will return
the first matching entry, which is the entry for 1000baseKX_Full.
If the phy eee does not support 1000baseKX_Full, this entry will not
match, causing phy_init_eee to fail for no good reason.
Fixes: 9a9c56cb34e6 ("net: phy: fix a bug when verify the EEE support")
Fixes: 3e7077067e80c ("phy: Expand phy speed/duplex settings array")
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/Makefile')
0 files changed, 0 insertions, 0 deletions