]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: ethtool returns req. AN even when AN fails
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 12 Mar 2012 08:53:13 +0000 (08:53 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:21 +0000 (15:23 +0800)
commite9878924ecce6b22460a7015aea7d2e2a4691d7f
tree1f2cf5032758d44e93f0a64c073989a0ea6b1cb1
parent09081c7645e13fe7a2a74163724c71372c8aa176
bnx2x: ethtool returns req. AN even when AN fails

Previously, if autoneg failed, ethtool would return the achieved autoneg.
This patch corrects this, causing ethtool to return the requested autoneg
capabilities even if autoneg fails.

(cherry picked from commit 241fb5d2b4205a523a50a85f9c312e1eda8ec53d)
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_ethtool.c