qede: Fix possible misconfiguration of advertised autoneg value.
authorsudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com>
Thu, 4 May 2017 15:15:05 +0000 (08:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 May 2017 16:31:03 +0000 (12:31 -0400)
commit161adb046b9119d480f2547db20fc3e9ce7cbf59
tree4ec0fb247d630bea29fc3d51d56f1d86686b96ac
parent34f9199ce7b7e5c641b96e928bd60e086bf7f278
qede: Fix possible misconfiguration of advertised autoneg value.

Fail the configuration of advertised speed-autoneg value if the config
update is not supported.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c