]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: fix autoneg in set_pauseparam
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Thu, 12 May 2011 20:28:05 +0000 (20:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2011 20:12:07 +0000 (16:12 -0400)
commita4da0bcfc70f22e440c0172eb86395903e0715a2
tree24a1ddf2bcec061db17cc3032df8949cdebaf8d6
parent39fd4047967e9d462138b398272a7f9cb128a3ff
stmmac: fix autoneg in set_pauseparam

This patch fixes a bug in the set_pauseparam
function that didn't well manage the ANE
field and returned broken values when use
ethtool -A|-a.

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