]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: fix a bug when verify the EEE support
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Sun, 26 May 2013 21:31:28 +0000 (21:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 06:30:09 +0000 (23:30 -0700)
commitf2d0019e3bc801f49b1f93dbf2aefe8a8b520d61
treef9ccee6f2e74fc7fb1fb128ef0849a7a740f7c25
parent9bb613064ac74b71c6557f16f3146e26ac716fee
net: phy: fix a bug when verify the EEE support

The phy_init_eee has to exit with an error when the
local device and its link partner both do not support EEE.
So this patch fixes a problem when verify this.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c